Create annotation with touch event


Good Day

I try to implement a way to create a annotation where the user touches with his finger, ans also show an NSLog, where the touch occurred (longitude and altitude of the location)

My problem is that I don’t know how to implement this, I tried to use the UIGesture Recognizer for this task, but I don’t know where to implement the tap event, as i dont’ have a View class of the map view (as this has been added by the ui editor as described in the chapter).

Anyone could point me in the right direction, how I could achieve this?