michbeck
michbeck

Reputation: 745

show a new view after x seconds?

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?

Upvotes: 0

Views: 158

Answers (2)

zonble
zonble

Reputation: 4213

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

Upvotes: 2

willcodejavaforfood
willcodejavaforfood

Reputation: 44103

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.

Upvotes: 2

Related Questions