[iOS, Swift] LocalNotification 실행하기
iOS 15.5, Xcode 13.31, Swift 5, UIKit 환경에서 진행했습니다. import UserNotifications class ViewController: UIViewController { lazy var button: UIButton = { var button = UIButton(type: .custom) button.setTitle("알림", for: .normal) return button }() override viewDidLoad() { // Notification 알림 허용 UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .sound, .badge]) { didAllow, Error in p..