摘要:
方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil]; }-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(doSomething) userInfo:nil repeats:NO]; [[NSRunLoop currentRunLoop] addTimer:timer1 forMode:NSRunLoopCommonMod 阅读全文
posted @ 2012-02-16 15:52
pengyingh
阅读(250)
评论(0)
推荐(0)