1.定时器开启后,会在经过设定的时间间隔后才会执行第一次定时操作.而不是立马开启.
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval: target:self selector:@selector(onTime) userInfo:nil repeats:NO];
2.定时器的fireDate属性是,当前时间距离下一次要执行定时器方法的时间之间的间隔.
NSLog(@"%f",[self.alertTimer.fireDate timeIntervalSinceNow]);
3.