开发者

Does using bonjour on the iphone enable bluetooth automatically?

I am planning to a peer to peer app using bonjour for the iphone. There will be no wifi available and hence am relying on bluetooth. I know bonjour based services works over bluetooth in the abscense of wifi.

My question is, will bluetooth on the phone automatically become enabled when I launch the bonjour service or try to do discovery?

If not, how do I enable bluetooth - I can't find any public API's in the SDK?

Regards, hb开发者_如何学编程


No. The user is responsible for selecting the network connectivity options in the Settings App. If they have not enabled Bluetooth, you cannot turn it on for them.

-t

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜