MKShape Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/MapKit.framework |
| Availability | Available in iOS 4.0 and later. |
| Companion guide | |
| Declared in | MKShape.h |
Overview
The MKShape class is an abstract class that defines the basic properties for all shape-based annotation objects. This class must be subclassed and cannot be used as is. Subclasses are responsible for defining the geometry of the shape and providing an appropriate value for the coordinate property inherited from the MKAnnotation protocol.
Properties
subtitle
The subtitle of the shape annotation.
@property(nonatomic, copy) NSString *subtitle
Discussion
This string is displayed in the callout for the associated annotation view. The default value of this property is nil.
Availability
- Available in iOS 4.0 and later.
Declared In
MKShape.htitle
The title of the shape annotation.
@property(nonatomic, copy) NSString *title
Discussion
This string is displayed in the callout for the associated annotation view. The default value of this property is nil.
Availability
- Available in iOS 4.0 and later.
Declared In
MKShape.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-10-12)