iphone - 蓝牙对等网络 API iOS

标签 iphone objective-c ios bluetooth p2p

<分区>

程序员们好...我正计划制作一个应用程序,该应用程序将在两个不同的 iOS 设备之间使用点对点蓝牙连接。

所以我的问题是,是否有任何好的教程可以指导我完成?

目的是发送字符串流,就像在聊天应用程序中一样。

我想学习,所以你可以给我一个方向,比如,

"Hey check this, XYZ API they intent to do what you are looking for..." Or "There is a tutorial ..."

感谢您的帮助!


目前的研究:

  • 下面的链接是关于通过 wifi 而不是蓝牙联网

http://jens.mooseyard.com/2009/05/a-bonjour-chat-tutorial-for-iphone-developers/

  • 此链接很有前途,但找不到任何相关教程。有谁知道有这方面教程的链接吗?

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html#//apple_ref/doc/uid/TP40008304-CH100-SW1

最佳答案

在我看来,GameKit 是您最好的选择。官方文档非常棒,应该可以很好地引导您完成它,即使它本身不是教程。

这里有一些:

http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/

http://www.devx.com/wireless/Article/43502/1954

您还可以查看 BeamIt 的源代码!

http://arctouch.com/beamit/

希望对您有所帮助。

关于iphone - 蓝牙对等网络 API iOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7733338/

相关文章:

iphone - iOS Google Drive sdk 集成和权限

ios - -[CCFileUtils fullPathForFilename:resolutionType:]:cocos2d:警告:找不到文件:

ios - 知道来自 NSStream 的数据是完整的

ios - Swift:我的委托(delegate)协议(protocol)方法需要在另一个 View Controller 上执行

iOS addSubview 不显示 View

ios - 无法识别的选择器从 UIButton 发送到实例错误消息

ios - EXC_BAD_ACCESS 在停止 MPMoviePlayerController 时崩溃

objective-c - 透明网页 View : underlying layer sometimes not visible

ios - 什么时候 -[UITextInput selectionRectsForRange :] called?

iphone - iOS 中的 LocationManager 在调用委托(delegate)之前重新分配