Skip to content

Commit

Permalink
Merge pull request facebookarchive#591 from facebook/fix_ipad_modal
Browse files Browse the repository at this point in the history
Fix ipad modal closes #251
  • Loading branch information
jwang committed Jul 10, 2011
2 parents 2444ca9 + c77ee65 commit 7f85497
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Three20UINavigator/Sources/TTBaseNavigator.m
Expand Up @@ -316,6 +316,8 @@ - (void)presentModalController: (UIViewController*)controller
} else {
UINavigationController* navController = [[[[self navigationControllerClass] alloc] init]
autorelease];
navController.modalTransitionStyle = transition;
navController.modalPresentationStyle = controller.modalPresentationStyle;
[navController pushViewController: controller
animated: NO];
[parentController presentModalViewController: navController
Expand Down

0 comments on commit 7f85497

Please sign in to comment.