splitview 控制器以纵向加载,然后横向加载
我正在动态删除视图并添加 splitviewcontroller。我在横向模式下遇到问题。当我在横向模式下执行相同的加载时,视图首先以纵向加载,然后转向横向模式。有没有办法解决这个问题。存在暂时的闪烁,用户体验不令人满意。
I am dynamically removing a view and adding a splitviewcontroller. I have problems in landscape mode. When I do the same loading in landscape mode the view is first loaded in portrait and then it is turning to landscape mode. Is there a way to solve this problem. There is a temporary flickering and UX is not pleasing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
今天早些时候我遇到了类似的问题,我删除了之前添加到 UIWindow 中的视图,然后添加了解决该问题的其他 ViewController,如下所示;
希望这有帮助!
I ran into a similar problem earlier today, I removed the previous views I had added to the UIWindow, then added my other ViewController which resolved the issue, like so;
Hope this helps!