views:

51

answers:

1

in my application i have a voice who play every 30 min i put my code in

- (void)applicationDidEnterBackground:(UIApplication *)application

it's working great on simulator and on device but when someone call me or i call someone the application will terminate and don't play the sound again :(

can anybody help me to solve the problem ?

A: 

When you receive a call, the method applicationWillResignActive: is called instead.

vakio