Call a method for every time interval

//eg: every 60 seconds in example below
- (void)setupYourTimer {
    [NSTimer scheduledTimerWithTimeInterval:60.0 target:self selector:@selector(callMethod) userInfo:nil repeats:YES];
}

- (void)callMethod {
    //Your called method
}

results matching ""

    No results matching ""