Weird Perspective With CATransform3DMakeRotation
- by kopproduction
I'm having an odd problem with CATransform3DMakeRotation. When the rotated view is in the center of the superview, it looks like this:
This is how it's supposed to look. However, when it's somewhere else in the superview, say, in the lower left corner, it looks like this:
Note that it is tilted to the right. Same thing happens when it's in…