【问题标题】:iOS : warning: changing property masksToBounds in transform-only layer, will have no effectiOS:警告:在仅转换层中更改属性 maskToBounds 将无效
【发布时间】:2017-04-22 07:47:37
【问题描述】:

虽然我已经去了
<CATransformLayer: 0x14fea3710> - changing property masksToBounds in transform-only layer, will have no effect
"changing property masksToBounds in transform-only layer, will have no effect" in Xcode 7
CATransformLayer : changing property masksToBounds in transform-only layer, will have no effect

但仍然对这个警告感到困惑
我在

上收到此警告
 [self presentViewController:alertViewController animated:YES completion:nil];

这里我在 ViewController 中添加 UIAlertViewController
1. 我怎样才能删除这个警告。
2.我应该忽略它吗。
或者还有其他方法可以在 viewcontroller 中显示 UIAlertViewController

【问题讨论】:

    标签: ios objective-c uialertcontroller presentviewcontroller


    【解决方案1】:

    它在 iOS 中的一个已知问题出现在各种情况下,例如:

    1. 呈现自定义键盘
    2. 呈现UIActivityViewController 等等。

    所以你只需要忽略它

    【讨论】:

      猜你喜欢
      • 2016-01-28
      • 2015-12-22
      • 1970-01-01
      • 2016-01-16
      • 2015-12-04
      • 1970-01-01
      • 2021-10-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多