开发者

OSX hide window effect on the iPhone

开发者 https://www.devze.com 2022-12-21 01:43 出处:网络
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...

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号