Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Fixes for Codea Runtime Library and XCode 5

edited September 2013 in Questions Posts: 437

Hey, here I am to share the new fixes for the new version of iOS7.

With this new version, the exporter must fix the status bar:

if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)]) {
    // iOS 7
    [self prefersStatusBarHidden];
    [self performSelector:@selector(setNeedsStatusBarAppearanceUpdate)];
} else {
    // iOS 6
    [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
// Add this Method
- (BOOL)prefersStatusBarHidden
return YES;

this can't be done just by creating a new class that inherit from UIViewController adding there the prefersStatusBarHidden method and make CodeaViewController inherit from this new class...must be something different... @Simeon ?


Sign In or Register to comment.