Created
June 11, 2016 17:54
-
-
Save olxios/c7d11a299a9a7dbeff51f2bc07c89b1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (UIViewController *)currentController | |
{ | |
if ([self.pageViewController.viewControllers count]) | |
{ | |
return self.pageViewController.viewControllers[0]; | |
} | |
return nil; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment