diff --git a/ios/ScratchJr/src/AppDelegate.m b/ios/ScratchJr/src/AppDelegate.m index 59e0900..dd18975 100644 --- a/ios/ScratchJr/src/AppDelegate.m +++ b/ios/ScratchJr/src/AppDelegate.m @@ -63,7 +63,7 @@ [[NSURLCache sharedURLCache] removeAllCachedResponses]; } -- (BOOL) application:(UIApplication *)application openURL:(NSURL *) url sourceApplication:(NSString *) sourceApplication annotation:(id) annotation { +- (BOOL) application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options { if (url) { NSString *str = [IO encodeBase64: [[NSData alloc] initWithContentsOfURL:url]]; [(ViewController*) self.window.rootViewController receiveProject:str]; diff --git a/ios/ScratchJr/src/ViewController.m b/ios/ScratchJr/src/ViewController.m index 2faf6f6..3877e89 100644 --- a/ios/ScratchJr/src/ViewController.m +++ b/ios/ScratchJr/src/ViewController.m @@ -42,7 +42,6 @@ NSDate *startDate; [self reload]; [self showSplash]; [IO init: self]; - [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO]; AVAudioSession *audioSession = [AVAudioSession sharedInstance]; [audioSession setCategory:AVAudioSessionCategoryPlayAndRecord error:nil]; }