Cannot call value of non-function type UNNotificationSound
- Posted by Gerard Grundy
- Date September 28, 2018
//4.0 content.sound = UNNotificationSound.default() //4.2 content.sound = UNNotificationSound.default
Related
didMove(toParentViewController:) has been renamed to didMove(toParent:)
September 28, 2018
You may also like
//4.0 Notification.Name.UIKeyboardWillHide //change to //4.2 UIResponder.keyboardWillHideNotification //4.0 Notification.Name.UIKeyboardWillChangeFrame //4.2 UIResponder.keyboardWillChangeFrameNotification //4.0 Notification.Name.UIApplicationWillResignActive //4.2 UIApplication.willResignActiveNotification //4.0 let keyboardScreenEndFrame = (userInfo[UIKeyboardFrameEndUserInfoKey] as! NSValue).cgRectValue //4.2 let keyboardScreenEndFrame = (userInfo[UIResponder.keyboardFrameEndUserInfoKey] as! NSValue).cgRectValue

MPMediaPickerController not working Swift 4.2
October 16, 2018