2014年12月10日

IOS、分割线separatorStyle切换

摘要: 当切换tableView.separatorStyle时,需要注意tableView.tabHeaderView假如,切换的同时要改变tableView.tabHeaderView为nil,那么在代码上要注意,先切换,然后再tableView.tabHeaderView=nil;否则会导致crash... 阅读全文

posted @ 2014-12-10 11:19 Maggie丶Ni 阅读(476) 评论(0) 推荐(0)

IOS、CoreBluetooth

摘要: 首先使用scanForPeripheralsWithServices 方法搜索设备并且回调didDiscoverPeripheral 成功找到我要寻找的设备然后调用connectPeripheral进行连接成功连接后在回调函数didConnectPeripheral中调用discoverServic... 阅读全文

posted @ 2014-12-10 11:18 Maggie丶Ni 阅读(163) 评论(0) 推荐(0)

导航