I'm new to iPhone development. I've been reading several questions on how to make a google maps annotation callout window accept line breaks. Every tutorial I've read requires me to fire the mapView:didSelectAnnotationView
method. But I have no idea how to trigger this. things I've tried include
- putting the method in my MapViewController.m file which extends UIViewController
- putting the method in a MapView.m file which extends MKMapView, then have my Mapview element in my storyboard reference it as the class to use
There's so much about xcode, objective c, and iphone development that I don't understand, so i can't tell where my problem lies.
At the moment, my map does plot my desired marker on the desired location. I just need to understand how to fire the mapView:didSelectAnnotationView
and mapView:viewForAnnotation
functions before I can start customizing the call out box.
Does anyone have step by step instructions on how to trigger these functions?