aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/ios/iOS UI Test/iOS UI Test/MasterViewController.m
diff options
context:
space:
mode:
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 {