I'm using the MapKit framework and I have used pins to display the exact address location of the contacts in my addressbook. Till now everything is working fine. But when i click on a pin I need to show the name of the contact, that particular pin represents. Right now I cant figure out a way to do this.
Displaying contact name when a pin is clicked on the mapview
121 Views Asked by Xavi Valero At
2
There are 2 best solutions below
Related Questions in IPHONE
- UIWebView Screen Fitting Issue
- ios responsive design not working (too wide in portrait orientation)
- Setting View orientation to portrait is ignored
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- What is the limit for number of subscribers to a stream(publisher's) in opentok/tokbox iOS SDK?
- How to generate request format for WCF web service method for Mac and iPhone
- Difference between gethostname() and [NSProcessInfo hostName]?
- How to force close ipad/iphone keypad when input element is not focused using JS?
- iOS app rejected because of in-app purchase
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Labels properties changing in Xcode
- Terminating app due to uncaught exception
- Exchange plist data between 2 iPad using iCloud
Related Questions in MAPKIT
- Reposition legal label ( MKAttributionLabel )
- Customize MKAnnotation Callout View?
- Add annotations from Array from core data
- Set the zoom for MKMapCamera and MKUserTrackingMode to be equal in a view controller
- How to show and search in google autocomplete just place my current city(area)?
- MKMapitem's Placemark.name is nil when creating MKMapItem from MKPlacemark
- Identify when MKRoutestep finishes
- Touching MKMapView causes pins to move slightly
- MapKit (iOS) -- Live MKAnnotation Motion
- Limit the MapView to a certain area but still able to zoom in and out
- MKMapView: user location pin color change to gray automatically
- Found nil while unwrapping an Optional Value
- Replace Apple Mapkit with Google Maps for business or work
- MKAnnotation just shown after move camera (swift)
- When I zoom my mapView to show my annotations, the selected annotations are partially off screen
Related Questions in ADDRESSBOOK
- Error with APAddressBOOK: "fatal error: Array index out of range"
- UIAddressBook in UITableView with NSObjectClass
- accessing phone number and display country name or the country code
- Opening Native Address book in edit mode
- Exporting all contacts in one .vcf file using Contacts.Framework in Objective - C
- AddressCountryRegion table in ax 2012 R3
- How to convert a column data to a row in php mysql
- Google CardDAV API - getting users addressbook
- Programmatically access favorite and recent contacts in iOS 8
- Cannot shift right using arrays and structures in address book program c++
- Customize address book & contact list
- How differentiate CardDAV contact sources?
- importing address book in roundcube doesn't do anything
- Boldify correct part of contact's name in iOS's AddressBook?
- Get Contacts out of Address Book who also use the application
Related Questions in MKPINANNOTATIONVIEW
- How to update information on MKPinAnnotationView?
- MKPinAnnotationView not showing title
- Decorating MKPinAnnotation
- iOS swift MapKit, pins added from search callback handler not appearing on the map
- How can drag MKPinAnnotationView pin only one tap?
- MKPinAnnotationView disable selection/highlight but not lift and drag
- MKPinAnnotationView subview doens't update
- MapView Custom Pin Image Issue
- Change speed of animatesDrop for Map Kit Annotations
- Remove annotation when slider moves - swift
- Double selection touch on MKPinAnnotationView
- MKAnnotation Custom Callout button general action -- how to know which Annotation it's coming from? (iPhone)
- Swift - MKPinAnnotation image issue
- MapView Drop and Drag Pin - Custom MKAnnotationView iOS 5
- Not able to initialize CLLocationCoordinate2D iVar in MKAnnotation Classe
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Setting the "title" and "subtitle" members of an MKAnnotation should do the job.
You can take a look at the MKMapView sample for Speedy I just wrote.