iOS 15.5, Xcode 13.31, Swift 5, UIKit 환경에서 진행했습니다. let alert = UIAlertController(title: "Simple", message: "Simple Message with Cancel and OK", preferredStyle: .alert) alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { _ in print("Cancel") })) alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { _ in print("OK") })) self.present(alert, animated: true) 실행 ..