Mapbox-gl-native: CATransformLayer: changing property masksToBounds in transform-only layer, will have no effect

Created on 16 Oct 2015  路  4Comments  路  Source: mapbox/mapbox-gl-native

Warning shows up three times in the iOS 9.0 iPad Retina simulator, around the same time as the user location annotation is being setup with a simulated location. May have something to do with the simulator not reporting heading, which is where we use masking.

<CATransformLayer: 0x7dea6880> - changing property masksToBounds in transform-only layer, will have no effect

As of: a422a1d3763e7acfa5f82041f727037b4399c991

bug iOS

Most helpful comment

I think thats Simulator bug from Apple, and it's not fix yet even on iOS 9

All 4 comments

Once Close and execute again in same simulator.

Can't reproduce this after #2181 and #2643.

I think thats Simulator bug from Apple, and it's not fix yet even on iOS 9

In case anybody is facing the same issue on iOS 14 using UIStackViews, please have a look at the following article:

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).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

melihcolpan picture melihcolpan  路  3Comments

scottschmitz picture scottschmitz  路  4Comments

xrayed picture xrayed  路  4Comments

LukasPaczos picture LukasPaczos  路  3Comments

brunoabinader picture brunoabinader  路  4Comments