From c77ee65c6cc948f38b213a8ec66186cdeb456a59 Mon Sep 17 00:00:00 2001 From: John Wang Date: Sat, 9 Jul 2011 15:03:19 -1000 Subject: [PATCH] fix TTBaseNavigator not respecting modalPresentationStyle and modalPresentationStyle (iPad) --- src/Three20UINavigator/Sources/TTBaseNavigator.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Three20UINavigator/Sources/TTBaseNavigator.m b/src/Three20UINavigator/Sources/TTBaseNavigator.m index 6526cafc79..6ed3474850 100644 --- a/src/Three20UINavigator/Sources/TTBaseNavigator.m +++ b/src/Three20UINavigator/Sources/TTBaseNavigator.m @@ -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