Reputation: 9390
I am new to iphone development. I have created a view controller and sets the button on the view. On clicking the button, it navigates to the next view and loaded the image in the view. Now i want to display the button on after loaded the image. The button will be shown after 3 seconds on the image view.
Please help me out,
Thanks.
Upvotes: 1
Views: 407
Reputation: 39384
Use NSTimer
In viewDidLoad
[NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(updateCounter:) userInfo:nil repeats:NO];
create a "updateCounter" custom method to display the button
- (void)updateCounter:(NSTimer *)theTimer {
display the button here...
}
All the Best.
Upvotes: 2