该文被密码保护。 阅读全文
posted @ 2015-07-10 18:09 killiancheung 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-07-10 18:06 killiancheung 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSA... 阅读全文
posted @ 2015-07-10 17:45 killiancheung 阅读(165) 评论(0) 推荐(0) 编辑
摘要: iBeacon[1]是苹果公司2013年9月发布的移动设备用OS(iOS7)上配备的新功能。其工作方式是,配备有 低功耗蓝牙(BLE)通信功能的设备使用BLE技术向周围发送自己特有的ID,接收到该ID的应用软件会根据该ID采取一些行动。比如,在店铺里设置iBeacon通信模块的话,便可让iPhone... 阅读全文
posted @ 2015-07-10 17:37 killiancheung 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 最近为了兼容iOS8升级到Xcode6.0编译之前的工程,结果App无法在真机上运行。报错如下:The file “xxxx.app” couldn’t be opened because you don’t have permission to view it解决方法查看工程中警告,发现需要更新旧... 阅读全文
posted @ 2015-07-10 15:38 killiancheung 阅读(1058) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-07-10 14:17 killiancheung 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-07-10 12:01 killiancheung 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 关于IOS的蓝牙首先,你要了解你的目的是什么,一般的IOS蓝牙开发有以下三种目的:1. IOS设备和IOS设备之间交互好消息是:ios6.0可以把iPhone手机当从设备了,可以两台iPhone通过蓝牙通信传数据了,有点类似spp协议坏消息是:我们需要的不是这种模式这种模式通常用于两个使用IOS设备... 阅读全文
posted @ 2015-07-10 11:41 killiancheung 阅读(271) 评论(0) 推荐(0) 编辑
摘要: We manufacture a new accessory for iPad/iPhone which should transfer commands to the iPad. We like to use UART (through a certain Apple-protocol calle... 阅读全文
posted @ 2015-07-10 11:39 killiancheung 阅读(275) 评论(0) 推荐(0) 编辑
摘要: How to launch an iphone app when an external accessory is either paired over BT or plugged into dock connectorI have researched this to death online a... 阅读全文
posted @ 2015-07-10 11:34 killiancheung 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: Protocol,简单来说就是一系列不属于任何类的方法列表,其中声明的方法可以被任何类实现。这种模式一般称为代理(delegation)模式。你通过Protocol定义各种行为,在不同的场景采用不同的实现方式。在iOS和OS X开发中,Apple采用了大量的代理模式来实现MVC中View和Contr... 阅读全文
posted @ 2015-07-10 10:55 killiancheung 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Category首先我们来谈谈Category。Objective-C提供了一种与众不同的方式——Catagory,可以动态的为已经存在的类添加新的行为。这样可以保证类的原始设计规模较小,功能增加时再逐步扩展。使用Category对类进行扩展时,不需要访问其源代码,也不需要创建子类。Category... 阅读全文
posted @ 2015-07-10 10:53 killiancheung 阅读(266) 评论(0) 推荐(0) 编辑