KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a method -(void)foo that I want to call once in viewDidAppear , then I want it to repeat every n seconds, where n is some integer. How can I do this? I tried this, but it's not repeating: [NSTimer scheduledTimerWithTimeInterval:7.0 target:nil selector:@selector(foo) userInfo:nil repeats:YES];
Tags (comma-separated)
Save Edits
Cancel