NSTimer is what you are looking for to complete an action at regular intervals.
Creating a simple timer to perform some actions every 5 seconds will look something like this:
-(IBAction)startTimer {
self.timer = [NSTimer scheduledTimerWithTimeInterval:5.0
target:self
selector:@selector(someAction:)
userInfo:nil
repeats:YES];
}
-(void)someAction:(NSTimer *)aTimer {
}
-(IBAction)stopTimer {
[self.timer invalidate];
}
, iOS . , Apple , .