Dze Dze - 2 years ago 84
Swift Question

performseguewithidentifier when a beacon is in range

I would just like to ask how to performseguewithidentifier and open a new view when a beacon is in range of the application. Please help me and provide an example and documentation. Thank you.

Answer Source

Tutorials you should look at:

These links all give examples of how to use CoreLocation to figure out when your phone is in range of an iBeacon. Then, you can use the performSegueWithIdentifier method to open a new view controller, like so:

self.performSegueWithIdentifier("segueToMyOtherVC", sender: self)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download