From 95fc15f75243423973712087269aeaa08138a336 Mon Sep 17 00:00:00 2001 From: Daniel Davis Date: Wed, 15 May 2013 17:39:59 -0700 Subject: [PATCH] Fix transparent view controller. --- OpenWatch/OWAudioRecordingViewController.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenWatch/OWAudioRecordingViewController.m b/OpenWatch/OWAudioRecordingViewController.m index e9df276..0402e05 100644 --- a/OpenWatch/OWAudioRecordingViewController.m +++ b/OpenWatch/OWAudioRecordingViewController.m @@ -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];