开发者

Bluetooth strength indicator iPhone

开发者 https://www.devze.com 2023-02-10 02:26 出处:网络
I have been looking at the GameKit for a while and have not found anything so I figured I would ask this here. Is there a function you could call or anything that would return either an int or a strin

I have been looking at the GameKit for a while and have not found anything so I figured I would ask this here. Is there a function you could call or anything that would return either an int or a string saying how strong the bluetooth signal is? For instance开发者_C百科 "10" or "low" for low strength, "50" or "medium" for medium strength etc.


I tried to do the same thing with Wifi about 2 months ago and the only way to do it is to access iOS's private API's.

Sow if Bluetooth API is like WiFi API the only way it is to access private APIs which is a breach in the Apple contract and it will never be accepted on the Apple store.

  • using standard libraries - best you can do is detect a WiFi - Bluetooth connection;
  • using private API's - YES but documentation on these API's are very hard to come by!

This might not be the answer you are looking for, but it's the best I got.

0

精彩评论

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