Reputation: 141
I have a UIWebView Here is the code:
- (void)viewDidLoad
{
[super viewDidLoad];
NSString *fullURL = @"https://facebook.com";
NSURL *url = [NSURL URLWithString:fullURL];
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
[_Facebook loadRequest:requestObj];
// Do any additional setup after loading the view.
}
When it shows up I want the address bar to show up, like it does when I open the Safari app. I thought it was this line of code NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; but i guess not.
Upvotes: 2
Views: 4825