TKWebViewController Class Reference
| Inherits from | UIViewController |
| Conforms to | UIWebViewDelegate |
| Declared in | TKWebViewController.h TKWebViewController.m |
Tasks
Other Methods
Properties
-
URLproperty -
URLRequestproperty -
webViewproperty -
actionBarButtonItemproperty -
– showActionSheet: -
– dismiss:
Properties
URL
The URL that will be loaded by the web view.
@property (nonatomic, strong) NSURL *URLDeclared In
TKWebViewController.hURLRequest
The URLRequest that will be loaded by the web view.
@property (nonatomic, strong) NSURLRequest *URLRequestDeclared In
TKWebViewController.hInstance Methods
dismiss:
A convenience method for dismissing the presented view controller.
- (void)dismiss:(id)senderParameters
- sender
The sender that sent the event.
Declared In
TKWebViewController.hinitWithURL:
Initializes a web view controller that will load the given NSURL object.
- (instancetype)initWithURL:(NSURL *)URLParameters
- URL
A
NSURLobject that will loaded by theUIWebView.
Return Value
An initialized TKWebViewController object or nil if the object couldn’t be created.
Declared In
TKWebViewController.hinitWithURLRequest:
Initializes a web vew controller that will load the given URLRequest object.
- (instancetype)initWithURLRequest:(NSURLRequest *)URLRequestParameters
- URLRequest
A
URLRequestobject that will loaded by theUIWebView.
Return Value
An initialized TKWebViewController object or nil if the object couldn’t be created.
Declared In
TKWebViewController.hshowActionSheet:
Show a UIActivityViewController to share the URL of the web view
- (void)showActionSheet:(id)senderParameters
- sender
The sender of the action.
Declared In
TKWebViewController.h