I want to transmit beacon signal using iPhone. For now it will be implemented in Objective C, but there is a plan to convert it to Swift later, so I'm also interested in finding any important differences I can encounter at this phase.
In some research I was able to find some limitations in simulating beacon
Can I make iPhone/iPad broadcast as Eddystone Beacon?
and also informations of some problems when using class other than view controller, at least in swift
Using iPhone as iBeacon Transmitter
In this last link I found link to Swift tutorial for simulating iBeacon with iPhone - code is placed in View Controller and it works in this place.
https://www.hackingwithswift.com/example-code/location/how-to-make-an-iphone-transmit-an-ibeacon
But using Core Bluetooth from View Controller is serious limitation if I want app to do some other stuff than just transmitting BLE signal. And this other stuff needs dismissing my controller.
Soon I will try to create some working code for Objective C and later for Swift for emitting BLE signal and still changing visible View Controllers. But maybe someone had done something like that and will be able to say if there was any problems, like mentioned before