Unable to receive remoteControlReceivedWithEvent - objective c - ios
问题 I successfully enabled my app to be able to play audio and video in background after the screen is locked. However, for better user experience I want to show play and pause controls of the running media on the locked screen. After following couple of blogs online, added the following code: @interface MyControllerClass () <UIGestureRecognizerDelegate, UIApplicationDelegate> - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [[UIApplication sharedApplication]