summaryrefslogtreecommitdiff
path: root/CyteKit
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-14 02:39:27 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-14 05:09:11 -0700
commit0620c39394108145b0c3b729cafe7b2a7f0d5848 (patch)
tree296992dd2d57ffa3f3cabdb39cb82ff6c66ab630 /CyteKit
parente8eda555ed7af2b5b11455c1db937e5f4b2c0e3e (diff)
Use lazy loading for pushed web controllers.
Diffstat (limited to 'CyteKit')
-rw-r--r--CyteKit/WebViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index d7a8594..444e821 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -370,7 +370,7 @@ float CYScrollViewDecelerationRateNormal;
if (page == nil) {
CyteWebViewController *browser([[[class_ alloc] init] autorelease]);
- [browser loadRequest:request];
+ [browser setRequest:request];
page = browser;
}