"Work with timer NSTimer"

Mon 11 May 2009

//setup timer somewhere in the code

[NSTimer scheduledTimerWithTimeInterval:5.0f target:self selector:@selector(onTimerEvent:)userInfo:nil repeats:NO];

 

- (void)onTimerEvent:(id)userInfo{

        //Your code when timer fires

}