Closed austimkelly closed 10 years ago
Nice piece of work. I found this useful for my app:
+#define kHideNavigationBarOnShow YES
-(void) toggleStateAnimated:(BOOL) animated { KLControllerCardState nextState = self.state == KLControllerCardStateDefault ? KLControllerCardStateFullScreen : KLControllerCardStateDefault;
+#if kHideNavigationBarOnShow == YES
[self setState: nextState animated: animated]; }
Great stuff, thanks
Nice piece of work. I found this useful for my app:
+#define kHideNavigationBarOnShow YES
-(void) toggleStateAnimated:(BOOL) animated { KLControllerCardState nextState = self.state == KLControllerCardStateDefault ? KLControllerCardStateFullScreen : KLControllerCardStateDefault;
+#if kHideNavigationBarOnShow == YES
[self setState: nextState animated: animated]; }