OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #if !defined(__has_feature) || !__has_feature(objc_arc) | |
6 #error "This file requires ARC support." | |
7 #endif | |
8 | |
9 #import "remoting/ios/ui/help_view_controller.h" | |
10 | |
11 @implementation HelpViewController | |
12 | |
13 // Override UIViewController | |
14 - (void)viewWillAppear:(BOOL)animated { | |
15 [self.navigationController setNavigationBarHidden:NO animated:YES]; | |
16 NSString* string = @"https://support.google.com/chrome/answer/1649523"; | |
17 NSURL* url = [NSURL URLWithString:string]; | |
18 [_webView loadRequest:[NSURLRequest requestWithURL:url]]; | |
19 } | |
20 | |
21 @end | |
OLD | NEW |