Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation bar is overlapping webview content #32

Open
rayzor65 opened this issue Nov 5, 2013 · 1 comment
Open

Navigation bar is overlapping webview content #32

rayzor65 opened this issue Nov 5, 2013 · 1 comment

Comments

@rayzor65
Copy link

rayzor65 commented Nov 5, 2013

Hi I am experiencing the above issue in iOS7 and have made a fix in my app. I would like to confirm if anyone else is having this issue?

As my fix is for iOS7 only should I put a logic statement like
if (iOS7) else do other code or is there a better way?

@jvanakker
Copy link

I added this to TSMiniWebBrowser.m in initWebView() below the line: webView.delegate = self;

if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7.0)
{
webView.scrollView.contentInset = UIEdgeInsetsMake(64, 0, 0, 0);
webView.scrollView.scrollIndicatorInsets = UIEdgeInsetsMake(64, 0, 0, 0);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants