Created
May 24, 2020 17:41
-
-
Save MrCrambo/071059596f711226896de1f9a554401d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
For BLUETOOTH scans. | |
Create CBCentralManager class element and call its method for scanning Bluetooth devices. | |
Here is the function declaration | |
*/ | |
func scanForPeripherals(withServices serviceUUIDs: [CBUUID]?, options: [String : Any]? = nil) | |
/* | |
For BEACONS scan. | |
Create CLLocationManager class element and call its method for ranging Beacons. | |
Here is the function declaration | |
*/ | |
func startRangingBeacons(satisfying constraint: CLBeaconIdentityConstraint) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment