NsTimer * coderTimer =
[NSTimer scheduledTimerWithTimeInterval:1 target:selfWeak selector:@selector(countDown:) userInfo:nil repeats:YES];
- (void)countDown:(NSTimer *)theTime
{
count--;
if(isFalse){
count = 0;
}
if (count == 0) {
[_sendCheckCodeBtn setTitle:@"重新获取" forState:UIControlStateNormal];
_sendCheckCodeBtn.enabled = YES;
[codeTimer invalidate];
count = 60;
}else{
[_sendCheckCodeBtn setTitle:[NSString stringWithFormat:@"%lds后重发",(long)count] forState:UIControlStateNormal];
}
}