removeFromParentViewController() has been renamed to removeFromParent()
- Posted by Gerard Grundy
- Date October 4, 2018
//4.0 obj.removeFromParentViewController()
//4.2 obj.removeFromParent()
Related
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