Dze Dze - 1 year ago 70
Swift Question

How to use performseguewithidentifier when a beacon is in range

I would just like to ask how to

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)