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
Post a Comment