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.
我想按下一个按钮让我的 UIView 打开到一侧。我的意思是就像一扇门会打开,它的侧面是固定的,但不是完全旋转,只是旋转了 30-40° 角。我怎样才能做到这一点?我尝试使用 UIViewAnimationOptionTransitionFlipFromBottom 翻转 UIView,但它完全翻转并且轴位于其中心,而不是一侧。我怎样才能做到这一点?
这个 SO question 讨论了如何创建翻页动画,如 Flipboard iPad 应用程序。您当然可以以此为起点来制作只翻转一部分的动画:
翻板动画