Is there an API via which I can tell if the Apple device (iPad/iPod/iPhone) that my App is running on supports Bluetooth Low Energy (BTLE).
Another option is to check whether the device supports iBeacons. This is because the device must support Bluetooth LE (i.e. Bluetooth 4) in order to find an iBeacon. Just import CoreLocation and use the following:
Swift:
if (CLLocationManager.isMonitoringAvailable(for: CLBeaconRegion.self)){
print("Bluetooth LE is supported")
}
Objective C:
if ([CLLocationManager isMonitoringAvailableForClass:[CLBeaconRegion class]]){
NSLog(@"Bluetooth LE is supported");
}