summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-02-15 20:01:26 +0800
committermarynate <mary.w.nate@gmail.com>2014-02-15 23:19:43 +0800
commit2371a92fde0e88d80a898931d4d6bfb541607f7a (patch)
treee9d24da65f2c265a6831bfacb3a7f50515181e48 /platform
parentd38cf2e396d1950aea1cc2e4cc1f3dbe50d43ef2 (diff)
UIApplication setStatusBarHidden:animation has been deprecated since iOS 3.2, use setStatusBarHidden:withAnimation instead.
Diffstat (limited to 'platform')
-rw-r--r--platform/iphone/app_delegate.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/app_delegate.mm b/platform/iphone/app_delegate.mm
index 9677c18c17..3cdca68595 100644
--- a/platform/iphone/app_delegate.mm
+++ b/platform/iphone/app_delegate.mm
@@ -165,7 +165,7 @@ static int frame_count = 0;
printf("**************** app delegate init\n");
CGRect rect = [[UIScreen mainScreen] bounds];
- [application setStatusBarHidden:YES animation:NO];
+ [application setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
// disable idle timer
application.idleTimerDisabled = YES;