Fixes for Codea Runtime Library and XCode 5

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 ?

@juaxix have you tried making a subclass of CodeaViewController, implementing prefersStatusBarHidden and using your custom subclass instead?

Yes @Simeon ,but it didnt work