Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Mobile-Applications mkannotationview canshowcallout
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
mkannotationview canshowcallout
1 Answer(s)      3 years and 9 months ago
Posted in : MobileApplications


Hi,

What is the use of mkannotationview canshowcallout?

Thanks


Advertisement
View Answers

December 21, 2010 at 12:32 PM


Hi,

This is used when you want to show the popup when user clicks on the annotation pin.

In your annotation class you have to implement the following functions:

- (NSString *)title
{
    return @"Title";
}

// optional
- (NSString *)subtitle
{
    return @"Sub Title";
}

Thanks



Related Tutorials/Questions & Answers:
mkannotationview canshowcallout
mkannotationview canshowcallout  Hi, What is the use of mkannotationview canshowcallout? Thanks   Hi, This is used when you want to show the popup when user clicks on the annotation pin. In your annotation class you
MKMapView Change Red Pin Color
;MKMapView changes to Red Pin on Tapping This is a MKAnnotationView issue. Use MKAnnotationView instead of MKPinAnnotationView. And set the custom image. It will fix... didSelectAnnotationView:(MKAnnotationView *)view { //I think here you will be adding
Advertisements
mapview1
animated:TRUE]; } - (MKAnnotationView *)mapView:(MKMapView *)mapView
mapview
]; } - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>
how to do map in iphone?-RV
count:4]; [self.mapView insertOverlay:polyLine atIndex:0];} -(MKAnnotationView
 

 

 

DMCA.com