TKWebViewController Class Reference
Inherits from | UIViewController |
Conforms to | UIWebViewDelegate |
Declared in | TKWebViewController.h |
Tasks
Other Methods
-
– initWithURL:
Initializes a web vew controller that will load the given
NS
URLobject.
-
– initWithURLRequest:
Initializes a web vew controller that will load the given
URLRequest
object.
Properties
-
URL
The URL that will be loaded by the web view.
property -
URLRequest
The URLRequest that will be loaded by the web view.
property -
webView
Returns the
propertyUIWebView
managed by the controller object. -
– showActionSheet:
Show a
UIActivityViewController
to share the URL of the web view
Properties
URL
The URL that will be loaded by the web view.
@property (nonatomic, strong) NSURL *URL
Discussion
The URL that will be loaded by the web view.
Declared In
TKWebViewController.h
Instance Methods
initWithURL:
Initializes a web vew controller that will load the given NS
URL object.
- (id)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.
Discussion
Initializes a web vew controller that will load the given NS
URL object.
Declared In
TKWebViewController.h
initWithURLRequest:
Initializes a web vew controller that will load the given URLRequest
object.
- (id)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.
Discussion
Initializes a web vew controller that will load the given URLRequest
object.
Declared In
TKWebViewController.h