Skip to content

Commit

Permalink
Fix transparent view controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdavis committed May 16, 2013
1 parent 9723c92 commit 95fc15f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions OpenWatch/OWAudioRecordingViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ - (void) recordButtonPressed:(id)sender {
}
}

- (void)loadView {
UIView* view = [[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
view.backgroundColor = [OWUtilities stoneBackgroundPattern];
self.view = view;
}

- (void)viewDidLoad
{
[super viewDidLoad];
Expand Down

0 comments on commit 95fc15f

Please sign in to comment.