阅读背景:

尝试以编程方式创建尺寸小于屏幕的iOS WKWebView

来源:互联网 

Im starting with a simple app that just shows a web view using WKWebView. Everything builds, and works okay, except that it is always fullscreen. Ideally it would not extend under the iOS status bar at the top. It needs to be lowered by 20px to be below it. I have searched extensively for a solution but nothing changes the size. Nothing is setup in InterfaceBuilder, I'm doing everything programmatically. Using Swift.Im starting with a simple app that just shows a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: