tags:

views:

60

answers:

1

Hi,

I got the background Process successfully. But the problem was when AVAudio player get finished it won't play automatically next song. But In Simulator it will work fine. In device only the Problem. Any one worked Out???

A: 

Hi, we want to activate the Remote Control system,then only the song list will play automatically.

[[UIApplication sharedApplication] beginReceivingRemoteControlEvents];

use this line in viewdidload method....

I did't test in window based application!!! Just try and reply me!!!

@Suresh -->if i have my music player added to window,where to put the above code..
Warrior
In Applicationdidloadfinish method itself!!!