iphone - Navigation from AppDelegate to a view controller don't disable the audio playing of previous view controller -


i newbie in ios programming. having problem navigation controller. rootviewcontroller 'welcomeviewcontroller'. navigate 'abcviewcontroller' root view & when 'abcviewcontroller' loaded plays audio file. when receive special message 'appdelegate' class, pushing xyzviewcontroller appdelegate class. problem audio playing of abcviewcontroller continues playing though current view showing xyzviewcontroller. player shouldn't play while visible controller xyzviewcontroller. think there problem navigation. how can solve problem?

as stated robert, need stop audio in abcviewcontroller viewwilldisapper:

hope help.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

ios - UISlider customization: how to properly add shadow to custom knob image -

Delphi interface implements -