`presentModalViewController` is a `UIViewController` instance method that presents a modal view controller. This is deprecated as of iOS 6, superseded by `presentViewController`.
presentModalViewController is an iOS UIViewController instance method that presents a modal view controller. This is deprecated as of iOS 6, superseded by presentViewController. According to the Appendix A - Deprecated UIViewController Methods:
A method identified as deprecated has been superseded and may become unsupported in the future.
The presentModalViewController is the correct method when presenting modal views for iOS versions prior to version 5.0. The presentViewController is recommended effective iOS 6.
A view controller presented via presentModalViewController is dismissed with dismissModalViewControllerAnimated. A view controller presented via presentViewController is dismissed via dismissViewControllerAnimated.
References:
- Presenting View Controllers from Other View Controllers section of the View Controller Programming Guide for iOS 
- Presenting Another View Controller’s Content section of the UIViewController Class Reference 
 
     
     
     
     
     
     
     
     
     
     
     
     
     
    