Displaying Text and Launching Sounds through ViewController.swift


Im really new to swift and developing for mobiles, so excuse if Its obvious or really basic what I am asking, but could you please show how I could use beacons minor, i.e. when phone is closer to one or another beacon to use that for launching images, sounds or simply displaying text. Which I figured you can do right from ViewController.

I used the following tutorial that shows how to render color depending on which beacon is closer.
I imagine adding latter could be done building it on this example?

Thank you for your help!

i am looking for the same answer just like you