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

StudentX picture StudentX · Sep 8, 2015 · Viewed 25.2k times · Source

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 don't understand why it may have come and that too, only on iPad.

According to an Apple forum thread it could be a bug from Apple's side. Has anyone found a solution for this?

Answer

Amit Verma picture Amit Verma · May 8, 2017

In order to get rid of this error un check clip to bounds option and put scale to fill to view to all view,UIStackView you have used in your project.