Skip to content
Browse files

bugfix: use application frame sizing for coverview, not hardcoded val…

…ues.
  • Loading branch information...
1 parent af098a7 commit 0b73c0edf8be68ab16b2afae2debf460bf93ce0e @reednj committed Oct 17, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/TDSemiModalViewController.m
View
4 Source/TDSemiModalViewController.m
@@ -13,8 +13,8 @@ @implementation TDSemiModalViewController
-(void)viewDidLoad {
[super viewDidLoad];
- //self.coverView = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
- self.coverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
+ self.coverView = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
+ //self.coverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
coverView.backgroundColor = UIColor.blackColor;
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;

0 comments on commit 0b73c0e

Please sign in to comment.
Something went wrong with that request. Please try again.