Posts

Post marked as solved
5 Replies
1k Views
I am looking for the steps to enable Multicast Entitlement for my unpublished app so that I can test it on devices. I followed the instructions in this link (https://developer.apple.com/forums/thread/663271) but with the new process, I am not seeing an "Additional Capabilities" section when editing an app ID. For the old process, I don't see an "Additional Entitlements" page when creating a provisioning profile. I am logged into the master account so I should have the permissions to do so. I tried to fill out the form on this page (https://developer.apple.com/contact/request/networking-multicast) but it requires an App Store URL. I can't provide it because this app is not ready to be published; I just need to test it. I would appreciate any suggestions and thoughts on this topic. Thank you.
Posted Last updated
.
Post not yet marked as solved
0 Replies
604 Views
Issue:My application's audio is not resuming after an interruption (such as phone call or when I use other applications). This issue happens when my application is already in the background state before the interrupt occurs.Code to handle interrupts:- (void)handleInterruption:(NSNotification *) notification{ if (notification.name != AVAudioSessionInterruptionNotification || notification.userInfo == nil) { return; } NSDictionary *info = notification.userInfo; if ([notification.name isEqualToString:AVAudioSessionInterruptionNotification]) { if ([[info valueForKey:AVAudioSessionInterruptionTypeKey] isEqualToNumber:[NSNumber numberWithInt:AVAudioSessionInterruptionTypeBegan]]) { NSLog(@"InterruptionTypeBegan"); } else { NSLog(@"InterruptionTypeEnded"); dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ NSLog(@"playing audio"); self->_audioPlayer.numberOfLoops = -1; [self->_audioPlayer play]; }); } } }In Xcode console, I see logs in the following sequence but no audio is played:InterruptionTypeBeganInterruptionTypeEndedplaying audioI would appreciate any suggestions and thoughts on this topic. Thank you.Additional information:I have noticed same issue with many online music streaming apps such as Saavn and Spotify.
Posted Last updated
.