Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试CATransform3DRotate在屏幕上旋转 UIView/UIImageView,但是当我将转换应用于视图时,它会显示某种旋转动画。有什么方法可以禁用它并在没有中间效果的情况下获得最终结果?
CATransform3DRotate
[CATransaction begin]; [CATransaction setDisableActions: YES]; // Your code here [CATransaction commit];