Share on Google+Share on Google+

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

Hi,

What is the use of mkannotationview canshowcallout?

Thanks

Ads

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
Tutorials   
Java Spring Hibernate Struts Training How to uninstall old version of Android Studio? How to install cocoapods in Max? item lookup How to get path of a file in iOS? [NSConcreteMutableData release]: message sent to deallocated instance Covert Bool to String - NSString Getting UIButton by Tag How to write Example code for comparing Strings in iPhone SDK? How to set placeholder in uitextfield programmatically? Example code of adding placeholder in UItextFeild how to get UIView by tag J2me image use ase smiley UILineBreakModeWordWrap is deprecated Framework for Mobile Applications How to print UIButton id System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h' has been modified since the precompiled header UINavigationController Navigating to back uinavigationcontroller add right button UINavigationController how to set title uitextfield hide keyboard on return dismissmodalviewcontrolleranimated first deprecated in ios 6.0 xcode 6.1.1 download How to remove virtual keypad from apps java How to remove virtual keypad from apps java How to remove virtual keypad from apps java code to send sms alerts using jsp online iphone app development how to devlop mobile application? What is WAP? download mp3 file on server in iphone home button macbook pro keyboard calling from iphone through programitically in iphone How to retrieve a field from SQLite to Edittext in android How to retrieve a field from SQLite to Edittext in android Sqlite3 Why NSMutableDictionary ios work with nsdictionary what is class methods in objective c what is class methods in objective c UIButton HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE HOW TO FIND OUT GPS COORDINATES WITHOUT USING ONLINE DATABASE OR OTHERTHING ON MOBILE Rad Calculator ANDROID J2ME Bar graph j2me image application iphone iphone

Ads

 
Advertisement null

Ads