开发者

show a new view after x seconds?

开发者 https://www.devze.com 2022-12-24 06:37 出处:网络
开发者_运维问答I\'m quite new to Objective-C and I have this problem. I\'m animating an image an show this in a imageview.

开发者_运维问答I'm quite new to Objective-C and I have this problem. I'm animating an image an show this in a imageview. after 15 seconds i want to show another view, thought of a "flying in view from the bottom".

Any hints for me how i could manage that?


Have a look at NSTimer, it lets you call a delegate after a certain time. Views can be animated to come in from the bottom as well by using UIViewAnimationTransitionCurlUp. Check out the UIView doc for more information and examples.


Another easy way is to call performSelector:withObject:afterDelay:

0

精彩评论

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