Skip to content

Instantly share code, notes, and snippets.

View alex-cellcity's full-sized avatar

Alex Yao Cheng alex-cellcity

  • CellCity Ltd.
  • Singapore
View GitHub Profile
Index: src/Three20UICommon/Sources/UIViewControllerAdditions.m
===================================================================
--- src/Three20UICommon/Sources/UIViewControllerAdditions.m (revision 1193)
+++ src/Three20UICommon/Sources/UIViewControllerAdditions.m (working copy)
@@ -294,10 +294,14 @@
///////////////////////////////////////////////////////////////////////////////////////////////////
- (void)showBars:(BOOL)show animated:(BOOL)animated {
#if __IPHONE_3_2 && __IPHONE_3_2 <= __IPHONE_OS_VERSION_MAX_ALLOWED
- [[UIApplication sharedApplication] setStatusBarHidden:!show withAnimation:animated];
-#else