you must CBCentralManager
trough ViewController
s on PrepareForSegue
method so it will retain the instance
create new class for implement CBPeripheralManagerDelegate
and create its instance and pass it
you can use prepare for segue method accordingly this sample