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.
是否可以在 iphone 上“轻松”制作 UIView 上的 MAC OSX 隐藏窗口效果?当我说得轻松时,我的意思是使用现有的库或工具......
谢谢
你可以在 UIKit 中使用动画来实现这个效果。只需将您的框架或转换设置到它的新位置并调用 commitAnimations。您可以调整速度、动画曲线和其他各种方面,使您的动画看起来像您想要的任何效果。所有这些都是通过 UIView 类完成的。
http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
iPhone SDK 中没有内置这样的动画,您必须自己创建。