summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-26 00:24:29 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-26 19:02:15 +0200
commitbcb57baaae2d7e6914ab4dd8eb5232aeacddbb72 (patch)
tree427e3a72d31f0cd59cd54268bac2b8133b31198b /ios
parent6d7d274151d18be9c806f72ac3ce10638e483bea (diff)
Use the applicationFrame and not whole screen size
Change-Id: I33a67b4908759913e49608110cc2635cc50e54b1
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
index 7e7216ff63b3..271342bd49d9 100644
--- a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
+++ b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm
@@ -26,7 +26,7 @@ static UIWindow *theWindow;
(void) application;
(void) launchOptions;
- CGRect bounds = [[UIScreen mainScreen] bounds];
+ CGRect bounds = [[UIScreen mainScreen] applicationFrame];
self.window = [[LOViewerWindow alloc] initWithFrame:bounds];
theWindow = self.window;