Split "view controller."

This commit is contained in:
Steven Fisher 2015-03-16 11:54:52 -07:00
parent 8482109670
commit 80d0df1697

View File

@ -303,7 +303,7 @@
}
- (UIView*) viewForShowingActionSheetOnPhone {
//find the topmost presented viewcontroller
//find the topmost presented view controller
//and use its view
UIViewController* topMostPresentedViewController = self.view.window.rootViewController;
while(topMostPresentedViewController.presentedViewController) {