Here are some of the updates I came across: Here are some of the updates I came across: 👨👦😢 ‘removeFromParentViewController()’ has been renamed 🧒🏻📱 ‘addChildViewController’ has been renamed to ‘addChild(_:)’ …
//4.0 let pngData = UIImagePNGRepresentation(croppedImage) //4.2 let pngData = croppedImage.pngData() If this helped you, share and pass it on! 😀 ➡️ 🐦
Here are some of the updates I came across: Instance method ‘imagePickerController(_:didFinishPickingMediaWithInfo:)’ nearly matches optional requirement ‘imagePickerController(_:didFinishPickingMediaWithInfo:)’ of protocol ‘UIImagePickerControllerDelegate’ ‘UIImagePNGRepresentation’ has been replaced by instance method ‘UIImage.pngData()’ ‘UIImagePickerControllerEditedImage’ has …
//4.0 func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]) { //4.1 func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePickerController.InfoKey : Any]) {
//4.0 guard let image = info[UIImagePickerControllerEditedImage] as? UIImage else { return } //4.1 guard let image = info[UIImagePickerController.InfoKey.editedImage] as? UIImage else { return }
//4.0 image = image?.withRenderingMode(UIImageRenderingMode.alwaysOriginal) //4.2 image = image?.withRenderingMode(UIImage.RenderingMode.alwaysOriginal)
//4.0 cell.accessoryType = UITableViewCellAccessoryType.none //4.2 cell.accessoryType = UITableViewCell.AccessoryType.none
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 …