验证码,手机验证码
验证码,手机验证码,不区分大小写验证码
Swift 其它杂项
访问GitHub主页
共8Star
详细介绍
AutherCode
验证码,手机验证码,不区分大小写验证码
PhotoShoot
How To Use
#import "WSAuthCode.h"
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
WSAuthCode *wsCode = [[WSAuthCode alloc]initWithFrame:CGRectMake(50, 100, kScreenWidth-200, 40)];
[self.view addSubview:wsCode];
[wsCode reloadAuthCodeView]; //刷新验证码
//验证是否匹配
BOOL isOk = [wsCode startAuthWithString:textF.text];
if (isOk) {
NSLog(@"验证码正确");
}else{
NSLog(@"验证码错误");
}
推荐源码
暂无源码 更多源码...