OSX hide window effect on the iPhone
Is it possible to 'easily' make on the iphone a MAC OSX hide window effect on a UIView? When I say easily, I mean 开发者_运维技巧using existing libraries or tools...
Thanks
You can use animations in UIKit to achieve this effect. Just set your frame or transformation to it's new location and call commitAnimations. You can adjust the speed, animation curve, and various other aspects to make your animation look like whatever effect you want. All of this is done with the UIView class.
http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
No such animation is built in to the iPhone SDK, you'd have to create it yourself.
精彩评论