diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-01 08:38:35 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:32 -0800 |
commit | a713fcd35b952bc5215b8e235c5e854680706679 (patch) | |
tree | b2da54d039d2bd8a74329a601db317f5f49b56e1 /CyteKit/CyteWebView.mm | |
parent | 8b11aa52c431335b56d9bd6321cde112afb37002 (diff) |
Add -[CYWebView reloadFromOrigin].
Diffstat (limited to 'CyteKit/CyteWebView.mm')
-rw-r--r-- | CyteKit/CyteWebView.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CyteKit/CyteWebView.mm b/CyteKit/CyteWebView.mm index 5c07039..c7044bc 100644 --- a/CyteKit/CyteWebView.mm +++ b/CyteKit/CyteWebView.mm @@ -350,6 +350,10 @@ static void $UIWebViewWebViewDelegate$webViewClose$(UIWebViewWebViewDelegate *se } } +- (void) reloadFromOrigin { + [[[self _documentView] webView] reloadFromOrigin:nil]; +} + + (void) initialize { if (Class $UIWebViewWebViewDelegate = objc_getClass("UIWebViewWebViewDelegate")) { class_addMethod($UIWebViewWebViewDelegate, @selector(webView:addMessageToConsole:), (IMP) &$UIWebViewWebViewDelegate$webView$addMessageToConsole$, "v16@0:4@8@12"); |