}
self.isAuthing = true;
__weak typeof(self) ws = self;
- [self startAuthentication:AiMouseAuthType_BeiKeZhiHui finished:^(AiMouseAuthState state) {
+ [self startAuthentication:AiMouseAuthType_none finished:^(AiMouseAuthState state) {
ws.isAuthing = false;
[ws showLog:state == AiMouseAuthState_Success? @"鉴权成功":@"鉴权失败"];
if(ws.delegate) [ws.delegate aiMouseAuthenticationResult:state];
-(instancetype)init{
if (self = [super init]) {
-// [[DeviceManger shared] start];
}
return self;
}
-(void)dealloc{
-// [[DeviceManger shared] stop];
}
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
-// [[DeviceManger shared] start];
[self setupUI];
[self setupDeviceManger];
}