ios - CATransformLayer : changing property masksToBounds in transform-only layer, 将无效

标签 ios xcode

我正在使用 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/

相关文章:

ios - 仅将 CIGaussianBlur 应用于图像的一小部分

ios - UITableView 和 UIRefreshControl 因未知原因被下移

ios - 将 UISearchBar 锁定到 UITableView 的顶部

iphone - 您可以从另一个应用程序中删除一个应用程序吗?

objective-c - 查找未使用的图像或覆盖 +imageNamed : to log images not found

swift - AR 与 iOS : putting a light in the scene makes everything black?

iphone - Quickblox,聊天室不发送推送通知

c++ - CMake error no CMAKE_C_COMPILER can be found using Xcode and GLFW

ios - 尝试存档项目时 Xcode 出错 : Unexpected duplicate tasks

ios - 二传手不保留