AWFMapCalloutInfo
Objective-C
@interface AWFMapCalloutInfo : NSObject
Swift
class AWFMapCalloutInfo : NSObject
An AWFMapCalloutInfo
object contains the information and view content to display within an AWFMapCallout
.
-
The title for the callout.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull title;
Swift
var title: String { get set }
-
The subtitle for the callout.
Declaration
Objective-C
@property (nonatomic, copy) NSString *_Nonnull subtitle;
Swift
var subtitle: String { get set }
-
The custom view to display in the callout.
If this value is defined, then this view will be displayed instead of the title and subtitle.
Declaration
Objective-C
@property (nonatomic, strong) UIView *_Nonnull contentView;
Swift
var contentView: UIView { get set }
-
The view to display on the left side of the callout.
Declaration
Objective-C
@property (nonatomic, strong) UIView *_Nonnull leftAccessoryView;
Swift
var leftAccessoryView: UIView { get set }
-
The view to display on the right side of the callout.
Declaration
Objective-C
@property (nonatomic, strong) UIView *_Nonnull rightAccessoryView;
Swift
var rightAccessoryView: UIView { get set }
-
Initializes and returns a newly allocated info object with the specified title and subtitle.
Declaration
Objective-C
- (nonnull instancetype)initWithTitle:(nonnull NSString *)title subtitle:(nonnull NSString *)subtitle;
Swift
init(title: String, subtitle: String)
Parameters
title
The title to use for the callout.
subtitle
The subtitle to use for the callout.
Return Value
An initialized info object.
-
Initializes and returns a newly allocated info object with the specified content view.
Declaration
Objective-C
- (nonnull instancetype)initWithContentView:(nonnull UIView *)contentView;
Swift
init(contentView: UIView)
Parameters
contentView
The content view to use for the callout.
Return Value
An initialized info object.