Since im still new to coding i need help figuring this out since i don't know how to get around it. I got a segment control to switch between standard, satellite and hybrid. But it is in the sidebarmenu and the class is tableviewcontroller. I need it to interact with the mapkit so i can get it to work when pressing the button. I already got a code but need guidance/help to get it to work.
Thanks in advance!
Putting an image up here:
