简体   繁体   中英

Navigation bar and UIWebview

I am having some slight issue and trying to fix it but can't find the easiest answer towards it. I have a navigation bar, which is taking top pixels away, and hence the webview content last 44 px if I am not wrong goes under the bounce and hides the content. Hence the problem is that I have a submit button, and since it needs to be clicked, it goes under the bounce condition and doesn't let me select the button. Any quick solution to this problem will be appreciate.

Thanks

Make sure your UIWebView has the autoresizingMask set to be flexible in height and width. You can do that in interface builder or in code.

您可以将底部内容插入设置为44。但是看来您的视图放置不正确(Web视图的大小未考虑导航栏,Web视图的大小未正确调整,等等。)我将解决此问题,而不是使用插图修复。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM