1、[NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(xxx:) userInfo:nil repeats:NO]; //定时器执行方法
2、使定时器失效 [timer invalidate];
1、[NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(xxx:) userInfo:nil repeats:NO]; //定时器执行方法
2、使定时器失效 [timer invalidate];