Audiostreamer backgrounding question with multiple views, remoteControlReceivedWit...

Discussion in 'iOS Programming' started by SAIRUS, Aug 6, 2011.

  1. macrumors 6502

    Aug 21, 2008
    So I'm using Matt Gallagher audiostreamer.

    On the one view where it's implemented, everything is fine. I can background, access the remote and control the stream just fine.

    The problem is just when I pop another view in (the app also has news articles for reading, while listening to podcasts).

    ArticleViewController *drinkdDetailViewController = [[ArticleViewController alloc] initWithNibName:@"ArticleViewController" bundle:nil];
            [self.navigationController pushViewController:drinkdDetailViewController animated:YES];
    The music continues to play, but I have issues with the new remoteControlReceivedWithEvent. Thing is, the new view doesn't have control to the streamer. Now remoteControlReceivedWithEvent does fire and is setup properly with the NSNotifications and canBecomeFirstResponder.

    I know I'm probably forgetting something really simple, but coding this app has put me into a brain dead state.

    Please help!

Share This Page