收藏官网首页
查看: 14835|回复: 13

GoKit Demo App 源码

3

主题

6

帖子

39

积分

新手上路

Rank: 1

积分
39
楼主
发表于 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
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表