diff --git a/ios/ScratchJr/src/ViewController.m b/ios/ScratchJr/src/ViewController.m index ed1e5da..00369c2 100644 --- a/ios/ScratchJr/src/ViewController.m +++ b/ios/ScratchJr/src/ViewController.m @@ -36,6 +36,8 @@ JSContext *js; [self showSplash]; [IO init: self]; [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:NO]; + AVAudioSession *audioSession = [AVAudioSession sharedInstance]; + [audioSession setCategory:AVAudioSessionCategoryPlayAndRecord error:nil]; } - (void) showSplash {