|
发表于 2016-3-14 09:39:52
|
显示全部楼层
【ios 源码】设备列表中的这块代码是干什么的?
#if QR_SIMULATOR
[self performSelectorselector(qrcodeSimulator) withObject:nil afterDelay:1];
#endif
}
#if QR_SIMULATOR
- (void)qrcodeSimulator
{
NSString *did = @"9H7oLSMq9CWxkhPiMnZGQH";
NSString *passcode = @"123456";
AppDelegate.hud.labelText = [NSString stringWithFormat"正在绑定%@...", selectedDevices.macAddress];
[AppDelegate.hud show:YES];
[[XPGWifiSDK sharedInstance] bindDeviceWithUid:AppDelegate.uid token:AppDelegate.token did:did passCode:passcode remark:nil];
}
#endif
|
|