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.
我已经使用 CATransform3DMakeRotation 实现了自定义翻转(请参阅UIView 垂直翻转动画)。它工作正常,导致翻转,问题是它只是一个简单的旋转。
如何模仿 iOS 风格的翻转,在翻转过程中视图似乎倾斜?
干杯!!
尝试添加视角。
CATransform3D rotationAndPerspectiveTransform = CATransform3DIdentity; rotationAndPerspectiveTransform.m34 = 1.0 / -500;