iPhone应用程序来传输信息通过蓝牙设备,但不获取连接 [英] iPhone App to transfer message over bluetooth but device is not getting connected

查看:277
本文介绍了iPhone应用程序来传输信息通过蓝牙设备,但不获取连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的这个iPhone应用程序,使用它可以将消息发送到其它连接的设备。我已经通过下面的教程了。

I am working on this iPhone app with which you can send message to other connected device. I have gone through following tutorial

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

一切似乎是罚款。没有内存泄漏之类的东西。现在,我安装在iPad和iTouch这个应用程序。 iPad的运行4.3.5和iTouch运行4.2.1。我用X code 4.0的iOS 4.3为基础SDK。我在X code表示上述项目(如靶 - > Messenger->摘要 - >部署靶子> 4.0)类似项目设定目标,我为4.0。

Everything seems to be fine. No memory leaks or anything like that. Now I installed this application on iPad and iTouch. iPad is running 4.3.5 and iTouch is running 4.2.1. I am using X Code 4.0 with iOS 4.3 as base sdk. I set my targets to 4.0 in X Code for above project (like Target->Messenger->summary->deployment target->4.0) similarly for project.

现在,当我运行的应用程序,并尝试将其与其他设备连接,它显示只想找附近的iOS设备并没有什么进一步的反应。但是,当我设置部署目标为4.3和iPad上安装相同的应用程序,即iPad的可检测的iTouch,但无法连接。

Now when I run application and try to connect it with other device, it shows only looking for nearby iOS devices and nothing happens further. But when I set deployment target to 4.3 and install same app on iPad, that iPad can detect iTouch but not able to connect it.

谁能告诉我,为什么会出现这种情况,如何应对呢?

Can anyone tell me why is this happening and how to deal with it ?

问候,
萨米特

Regards, Sumit

推荐答案

难道ü尝试用X code模拟器您的iPod Touch通过蓝牙连接?
然后,它可以使更多的确保您的编程正常运行。

Did u try using Xcode Simulator to connect your iPod Touch by Blue Tooth? Then it can make more sure that your programming run correctly.

这篇关于iPhone应用程序来传输信息通过蓝牙设备,但不获取连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆