Home Answers Viewqa Mobile-Applications mkannotationview canshowcallout

 
 


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

Hi,

What is the use of mkannotationview canshowcallout?

Thanks

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 Pages:
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
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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.