I am using Xcode 5 and the latest iOS SDK, and it is very difficult for me to understand how to create custom annotations using a click button.
All I need is a user annotation with a button that appears when the user clicks on my MKMapView. After some tutorials, I managed to create a custom class that loads the .xib file, and that already works. However, the problem is that whenever I try to click a button placed as an annotation, the contact is not selected. I would like to be able to design my annotation in a .xib file rather than create it 100% programmatically. Is there any way to do this?
Thank,
Niklas
source
share