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 *deepLinkURL
Discussion
An optional deep link URL.
Declared In
LUWebLink.h
title
The title of this link. For example, “Twitter” or “Facebook”.
@property (nonatomic, copy, readonly) NSString *title
Discussion
The title of this link. For example, “Twitter” or “Facebook”.
Declared In
LUWebLink.h
Instance 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 *)imageURL
Discussion
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