core-bluetooth

How to get list of available Bluetooth devices?

久未见 提交于 2019-11-26 04:37:55
问题 I\'m currently creating an iPhone app (Xcode 4.3.1, IOS 5) that could use Bluetooth devices! Main goal of this application is indoor navigation (GPS inside buildings isn\'t really accurate). The only solution I see here (to keep my app on AppStore) is to try scan for available bluetooth devices! I tried to use CoreBluetooth framework, but I don\'t get list of available devices! Maybe I don\'t use these functions correctly #import <UIKit/UIKit.h> #import <CoreBluetooth/CoreBluetooth.h>