//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!