step1
static NSTimer *timer;
step2
[timer invalidate];
step3
timer = [NSTimer scheduledTimerWithTimeInterval:newtime
target:self
selector:@selector(myMethod:)
userInfo:nil
repeats:YES];
沒有留言:
張貼留言