Here are thirty-eight of the updates I came across: ‘UIKeyboardWillHide’ has been renamed to ‘UIResponder.keyboardWillHideNotification’ ‘init(activityIndicatorStyle:)’ has been renamed to ‘init(style:)’ Cannot call value of non-function type ‘UNNotificationSound’ ‘UIApplicationOpenSettingsURLString’ has …
//4.0 //4.0 let spinner = UIActivityIndicatorView(activityIndicatorStyle: .gray) spinner.startAnimating() //4.2 //4.2 let spinner = UIActivityIndicatorView(style: .gray) spinner.startAnimating() If this helped you, share and pass it on! 😀 ➡️ 🐦
Here are some of the updates I came across: ‘UIKeyboardWillHide’ has been renamed to ‘UIResponder.keyboardWillHideNotification’ ‘init(activityIndicatorStyle:)’ has been renamed to ‘init(style:)’ Cannot call value of non-function type ‘UNNotificationSound’ ‘UIApplicationOpenSettingsURLString’ has …
//4.0 if let possibleImage = info[UIImagePickerControllerEditedImage] as? UIImage { newImage = possibleImage } else { return } //4.2 guard let possibleImage = info[.originalImage] as? UIImage else { fatalError(“Expected a dictionary …
//4.0 guard let settingsUrl = URL(string: UIApplicationOpenSettingsURLString) else { return } //4.2 guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else { return } If this helped you, share and pass it …
//4.0 private func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) { var newImage: UIImage //4.2 @objc private func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) { var …
//4.0 content.sound = UNNotificationSound.default() //4.2 content.sound = UNNotificationSound.default
//4.0 viewObj.didMove(toParentViewController: self) //4.2 viewObj.didMove(toParent: self) If this helped you, share and pass it on!