To use CoreBluetooth, your device must first support Bluetooth Low Energy in Bluetooth 4.0. You cannot connect to the device through the iOS UI for LE, you will have to develop your own interface for it, because your application should only connect to devices that interest you.
After that, you can sign up for a notification about the device when updating the attribute value, and then read the value using the CoreBluetooth API. If the device has a characteristic that can be recorded, then your application can write the characteristic using the CoreBluetooth API.
This is a general idea, I hope that answers your question.
Edit: check these samples:
source share