iPhone App

How to Get Current ViewController (mainly, modalViewController)

UINavigationController Class has property "modalViewController",(Deprecated in iOS 6.0)and property "presentedViewController" (iOS 5.0 and later)To get current view, you can use these properties.refer the link below: Getting Other Related…