RSDWebViewUIAction
public protocol RSDWebViewUIAction : RSDResourceTransformer, RSDUIAction
RSDWebViewUIAction
implements an extension of the base protocol where the action includes a pointer
to a url that can display in a webview. The url can either be fully qualified or optionally point to
an embedded resource. The resource bundle is assumed to be the main bundle if the bundleIdentifier
property is nil
.
-
The url to load in the webview. If this is not a fully qualified url string, then it is assumed to refer to an embedded resource.
Declaration
Swift
var url: String { get }
-
Should this webview be presented with a
<-
style of closure or aX
style of closure? If nil, then defaultRSDWebViewController
will assume that this should be set up with the older designs that use theClose
button on the right side.Note
This is only applicable to devices that use a back button or close button. Otherwise, it is ignored.Declaration
Swift
var usesBackButton: Bool? { get }
-
The title to show in a title bar or header.
Declaration
Swift
var title: String? { get }
-
Optional title for a close button. If non-nil, this will be rendered on iPhone devices using a footer.
Declaration
Swift
var closeButtonTitle: String? { get }