LUWebLink Class Reference
| Inherits from | LUAPIModel : NSObject |
| Declared in | LUWebLink.h LUWebLink.m |
Overview
A LUWebLink represents a link associated with a particular location or merchant. A web link will
always have a web URL (suitable to open in a web view or in Safari), but may also have a deep link
URL, which links directly into another application.
When deepLinkURL is present, you should first check if the device can open the URL using
[NSURL canOpenURL:], falling back to webURL if the URL cannot be opened.
Properties
deepLinkURL
An optional deep link URL.
@property (nonatomic, copy, readonly) NSURL *deepLinkURLDiscussion
An optional deep link URL.
Declared In
LUWebLink.htitle
The title of this link. For example, “Twitter” or “Facebook”.
@property (nonatomic, copy, readonly) NSString *titleDiscussion
The title of this link. For example, “Twitter” or “Facebook”.
Declared In
LUWebLink.hInstance Methods
imageURL
An associated image for the link, suitable as an icon. Will automatically return a retina or non-retina scaled image based on the screen scale of the device. The resolution is 25x25.
- (NSURL *)imageURLDiscussion
An associated image for the link, suitable as an icon. Will automatically return a retina or non-retina scaled image based on the screen scale of the device. The resolution is 25x25.
Declared In
LUWebLink.h