Permalink
Browse files

Fixing up TTWebController content loading #609

  • Loading branch information...
1 parent b16f136 commit e21378dbdf3dd140e9143810a140e35e57b03c59 @jwang jwang committed Jul 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Three20UI/Sources/TTWebController.m
@@ -419,7 +419,7 @@ - (void)setHeaderView:(UIView*)headerView {
_headerView = [headerView retain];
_headerView.frame = CGRectMake(0, 0, _webView.width, _headerView.height);
- //self.view;
+ [self view];
UIView* scroller = [_webView descendantOrSelfWithClass:NSClassFromString(@"UIScroller")];
UIView* docView = [scroller descendantOrSelfWithClass:NSClassFromString(@"UIWebDocumentView")];
[scroller addSubview:_headerView];
@@ -445,7 +445,7 @@ - (void)openURL:(NSURL*)URL {
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)openRequest:(NSURLRequest*)request {
- //self.view;
+ [self view];
[_webView loadRequest:request];
}

0 comments on commit e21378d

Please sign in to comment.