参考了一些获取验证码的方式,再次封装一下获取验证码按钮,以及手机号码的正则处理
#import
@interface UIButton (GetVerifyCode)
- (void)setTimeForTwinkle:(NSInteger)time ;
//twinkleTitle:(NSString *)title;
@end
#import "UIButton+GetVerifyCode.h"
/**
* 记录原始的title
*/
static
原创
2015-12-28 16:18:22 ·
551 阅读 ·
0 评论