aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
diff options
context:
space:
mode:
authorGravatar Matt Ronge <mronge@mronge.com>2014-01-08 20:40:22 -0600
committerGravatar Matt Ronge <mronge@mronge.com>2014-01-08 20:40:22 -0600
commit90f5ce81b93394b4408bf64309d196ebb24cd2de (patch)
treeed191da6e18601fcb6cf23e77f132527d239e372 /example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
parent451029178a7d612ea64ccc2d8289dcae6bb57db7 (diff)
iOS 7ify the example project
Diffstat (limited to 'example/ios/iOS UI Test/iOS UI Test/MasterViewController.m')
-rw-r--r--example/ios/iOS UI Test/iOS UI Test/MasterViewController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
index 0ed66e70..e30aabe3 100644
--- a/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
+++ b/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
@@ -352,7 +352,8 @@ finishedRefreshWithFetcher:(GTMHTTPFetcher *)fetcher
SettingsViewController *settingsViewController = [[SettingsViewController alloc] initWithNibName:nil bundle:nil];
settingsViewController.delegate = self;
- [self presentViewController:settingsViewController animated:YES completion:nil];
+ UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:settingsViewController];
+ [self presentViewController:nav animated:YES completion:nil];
}
- (void)settingsViewControllerFinished:(SettingsViewController *)viewController {