Permalink
Browse files

minor fix

  • Loading branch information...
1 parent 2550d87 commit cd834c5045441155577db28e0cce5cbc87670b60 Fabien Penso committed Aug 1, 2009
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −1 Classes/RootViewController.m
View
@@ -1,2 +1,3 @@
.DS_Store
build
+webview-fullsize-with-tableview.xcodeproj/penso.*
@@ -18,7 +18,7 @@ @implementation RootViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"Webview in UITableView";
- webview = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 70)]; // Don't use CGRectZero here, won't work
+ webview = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 10)]; // Don't use CGRectZero here, won't work
webview.delegate = self;
webview.hidden = YES;
@@ -94,6 +94,7 @@ - (void)didReceiveMemoryWarning {
- (void)dealloc {
[super dealloc];
+ [webview dealloc];
}

0 comments on commit cd834c5

Please sign in to comment.