iOS 6 view hierarchy nightmare

我的梦境 提交于 2019-12-05 08:32:59

Try manually setting your view layers z-property to ensure the hierarchy is what you need.

(This isn't really an answer, it's a reply to The Rat's answer, but I don't have the reputation points to comment yet)

Yes, explicitly setting zPositions seems to fix it, and yes it's weird. I also ran into this issue and blogged about it here: iOS 6 Rendering Bug: 3D-Rotation Causes Layers to Render Without Respect for View Hierarchy. It seems to be a rendering bug introduced in iOS 6. The blog has a link to the Open Radar version of the bug I filed with Apple, as well as a sample project you can run to see the bug and the zPosition fix.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!