I want to search and display BlueTooth device programmatically , can anyone help me to display devices in iOS programming. Thanks in Advance.
Asked
Active
Viewed 397 times
1 Answers
0
I have just commited my LGBluetooth framework, which is very easy to use
Check it out https://github.com/DavidSahakyan/LGBluetooth
Use this line of code to get nearby devices
#import "LGBluetooth.h" #import CoreBluetooth/CoreBluetooth.h ........ [[LGCentralManager sharedInstance] scanForPeripheralsByInterval:4 completion:^(NSArray *peripherals) { for (LGPeripheral *peripheral in peripherals) { NSLog(@"%@", peripheral.cbPeripheral.name); } }];

l0gg3r
- 8,864
- 3
- 26
- 46