我正在使用 Xcode 7 和 swift 2。
在我的 iPad Air,iOS 9.1 上,当键盘出现时,调试控制台会抛出一个错误
2015-10-28 13:07:35.114 Note[73896:6954126] <CATransformLayer: 0x7a2dc070> - changing property masksToBounds in transform-only layer, will have no effect
2015-10-28 13:07:35.115 Note[73896:6954126] <CATransformLayer: 0x7a2dd090> - changing property masksToBounds in transform-only layer, will have no effect
2015-10-28 13:07:35.115 Note[73896:6954126] <CATransformLayer: 0x7a035df0> - changing property masksToBounds in transform-only layer, will have no effect
这是 Apple 的错误吗?
编辑:
好像是Applen的bug,有人单独解决过吗?
最佳答案
不确定这是否适合您,但似乎错误来自于在 UIStackView 上使用 IB 中的模式设置(缩放以填充、纵横比等)将其更改为纵横比会返回此错误以及检查剪辑到 subview 。
希望对您有所帮助!
关于ios - CATransformLayer : changing property masksToBounds in transform-only layer, 将无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33392562/