“changing property masksToBounds in transform-only layer, will have no effect” in Xcode 7

前端 未结 4 2196
终归单人心
终归单人心 2020-12-12 11:48

I am receiving this warning in the debugger console when I launch my app on iPad Xcode 7 beta 6. There was no such warning till Xcode 6. I

4条回答
  •  天涯浪人
    2020-12-12 12:29

    In case anybody is facing this issue because of a UIStackView in iOS 14, please check out this article:

    https://useyourloaf.com/blog/stack-view-background-color-in-ios-14/

    Long story short:

    In iOS 14, UIStackView has changed from using a CATransformLayer to using a CALayer. I saw this first mentioned by Renaud Lienhart (@layoutsubviews) and then confirmed by David Duncan (@rincewindsama). This change is not (yet) mentioned in any release note or documentation (bug report FB8363575).

提交回复
热议问题