SITExternalLinkClickedResult
Objective-C
@interface SITExternalLinkClickedResult : NSObject
Swift
class SITExternalLinkClickedResult : NSObject
Object that encapsulates the data of the event didClickExternalLink: at SITMapViewDelegate.
-
Init method to create an instance of this class.
Declaration
Objective-C
- (nonnull instancetype)initWithURL:(nonnull NSURL *)url;
Swift
init(url: URL)
Parameters
url
A NSURL containing the external link that the user clicked inside SITMapView.
-
Link that the user clicked inside SITMapView. This link leads to a website outside SITMapView.
Declaration
Objective-C
@property (nonatomic, strong) NSURL *_Nonnull url;
Swift
var url: URL { get set }