objlv
objlv

Reputation: 601

NStimer and UINavigationController

I have UINavigationController based app with two views. On the first view there is a NStimer which run for about 3 seconds and display random integer. When I switch to the second view and then back to the first the timer did not fire. How to fire the timer when I back to the first view ?

Upvotes: 1

Views: 153

Answers (1)

put ur Timer code on ViewDidAppear function

Upvotes: 1

Related Questions