objective c - CALayer frame origin.y is flipped, 0 is at the bottom? -


when add set fram on calayer origin.y reversed, 0 @ bottom of super layer , increasing origin.y moves in super layer. there did cause flipped? expect origin.y=0 top, not bottom.

thanks,

you can flip coordinate system behave ios this...

layer.sublayertransform = catransform3dmakescale(1.0f, -1.0f, 1.0f); 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -