MKPinannotation detail disclosure button - present new view
问题 FirstViewController.h #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> @interface TransparentToolbar : UIToolbar{ } @end @interface AddressAnnotation : NSObject <MKAnnotation> { CLLocationCoordinate2D coordinate; NSString *title; NSString *subTitle; NSString *directions; NSString *website; } @property (nonatomic,retain) NSString *title; @property (nonatomic,retain) NSString *subtitle; @property (nonatomic,retain) NSString *directions; @property (nonatomic,retain) NSString *website; @end