开发者

Stop action in view when uinavigationcontroller clicked back to previous view on iPhone

I have a uinavigationcontroller with 2 views. In the second view I have some audio playing. When I click the back navigation item on the navigation bar the audi开发者_Go百科o still plays. How do I end the process of anything happening in the second view when the user clicks back to the initial view.

Thanks for your help.


Use the 2nd view's viewWillDisappear method to stop the music

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜