diff --git a/SimpleAuthInstagram/ios/SimpleAuthWebViewController.m b/SimpleAuthInstagram/ios/SimpleAuthWebViewController.m index 33f0ec9..3f05b68 100755 --- a/SimpleAuthInstagram/ios/SimpleAuthWebViewController.m +++ b/SimpleAuthInstagram/ios/SimpleAuthWebViewController.m @@ -26,7 +26,9 @@ @implementation SimpleAuthWebViewController { - (void)viewDidLoad { [super viewDidLoad]; - self.webView.frame = self.view.bounds; + CGFloat bottomY = CGRectGetMaxY(self.navigationController.navigationBar.frame) + [UIApplication sharedApplication].statusBarFrame.size.height; + + self.webView.frame = CGRectMake(self.view.bounds.origin.x, bottomY, self.view.bounds.size.width, self.view.bounds.size.height); [self.view addSubview:self.webView]; }