I want to rotate an NSImageView around its center. I use setFrameCenterRotation: to set the angle at which I want it to show. But the problem is, instead of rotating around its center like the documentation says it should, it is rotating around its origin. How can I get it to rotate in place around it's center? The image displayed by the imageview is circular so it should appear that the image hasn't changed it's location, merely rotated. But this is not the case, it is definitely not rotating around the center.
Edit: Also, the imageview's frame origin is changed when I call setFrameCenterRotation:
Edit: Also, the imageview's frame origin is changed when I call setFrameCenterRotation: