Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: remoting/ios/app/app_delegate.mm

Issue 2928433002: [CRD iOS] Use UINavigationController for view stack manipulation (Closed)
Patch Set: Add comment Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/ios/app/client_connection_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/app_delegate.mm
diff --git a/remoting/ios/app/app_delegate.mm b/remoting/ios/app/app_delegate.mm
index 9383cf5f30e7d18056aca56a7d5cd67b1cd0e128..d6c87e00505ca54eb8cfa034a36f6a4a2349a20f 100644
--- a/remoting/ios/app/app_delegate.mm
+++ b/remoting/ios/app/app_delegate.mm
@@ -55,7 +55,10 @@
- (void)launchRemotingViewController {
RemotingViewController* vc = [[RemotingViewController alloc] init];
- self.window.rootViewController = vc;
+ UINavigationController* navController =
+ [[UINavigationController alloc] initWithRootViewController:vc];
+ navController.navigationBarHidden = true;
+ self.window.rootViewController = navController;
[self.window makeKeyAndVisible];
}
« no previous file with comments | « no previous file | remoting/ios/app/client_connection_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698