UIwebview 内容未正确加载
我遇到了一件非常奇怪的事情,我在我的一个应用程序中使用 UIWebView
,但是当设备旋转到横向模式时,UIWebView
内容无法正确加载。
我可以看到 UIWebView
大小是正确的,但内容不知何故悬空。
对于这种情况,我在 iTouch 中检查了 safari,但对于他们来说它工作得很好。
我不知道问题出在哪里。我在简短搜索后发布它,但也无法获得任何帮助。
如果你们知道如何解决这个问题,那将会非常有帮助。
干杯,
马诺吉
I got a pretty weird thing, am using UIWebView
in one of my apps, but while the device is being rotated to landscape mode, the UIWebView
content is not loading properly.
I can see the UIWebView
size as proper but the content is somehow dangling.
For the case, I checked safari in iTouch, but for them its working pretty fine.
I dunno where is the issue. I am posting it after a brief search but could not get any help either.
If any you guys know how to fix this, it will be really helpful.
Cheers,
Manoj
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的应用程序支持所有 4 个方向,则在 info.plist 中为支持的界面方向创建一个键。
If your application supports all 4 orientation then in info.plist create a key for Supported interface orientations.