iOS AVPlayer control using Bluetooth
问题 I am developing music player application with AVPlayer . Now I have requirement, I want to control my Player with Bluetooth device for operations like Play, Pause, Next and back. Please guide me, what are possible solutions. 回答1: To control remote events the viewController that plays/controls the audio has to be the first responder so add this in viewDidAppear - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; //Make sure the system follows our playback status [