TKWebViewController Class Reference
Inherits from | UIViewController |
Conforms to | UIWebViewDelegate |
Declared in | TKWebViewController.h TKWebViewController.m |
Tasks
Other Methods
Properties
-
URL
property -
URLRequest
property -
webView
property -
actionBarButtonItem
property -
– showActionSheet:
-
– dismiss:
Properties
URL
The URL that will be loaded by the web view.
@property (nonatomic, strong) NSURL *URL
Declared In
TKWebViewController.h
URLRequest
The URLRequest that will be loaded by the web view.
@property (nonatomic, strong) NSURLRequest *URLRequest
Declared In
TKWebViewController.h
Instance Methods
dismiss:
A convenience method for dismissing the presented view controller.
- (void)dismiss:(id)sender
Parameters
- sender
The sender that sent the event.
Declared In
TKWebViewController.h
initWithURL:
Initializes a web view controller that will load the given NS
URL object.
- (instancetype)initWithURL:(NSURL *)URL
Parameters
- URL
A
NS
URLobject that will loaded by the
UIWebView
.
Return Value
An initialized TKWebViewController
object or nil if the object couldn’t be created.
Declared In
TKWebViewController.h
initWithURLRequest:
Initializes a web vew controller that will load the given URLRequest
object.
- (instancetype)initWithURLRequest:(NSURLRequest *)URLRequest
Parameters
- URLRequest
A
URLRequest
object that will loaded by theUIWebView
.
Return Value
An initialized TKWebViewController
object or nil if the object couldn’t be created.
Declared In
TKWebViewController.h
showActionSheet:
Show a UIActivityViewController
to share the URL of the web view
- (void)showActionSheet:(id)sender
Parameters
- sender
The sender of the action.
Declared In
TKWebViewController.h