I am trying to set the anchorPoint property to rotate the view using a well-defined axis. But:
myView.layer.anchorPoint = CGPointMake(myView.layer.anchorPoint.x - 1.0, myView.layer.anchorPoint.y);
Wenn I move it by -1.0, it will not just move 1 unit to the left. Instead, my whole gaze moves right across the width.
Which coordinate system is this? Seems upside down. But the units do not coincide with the units, for example, myView.frame.size.width?
source
share