开发者

Save session of Play Audio file

开发者 https://www.devze.com 2022-12-11 23:34 出处:网络
i want save play Audio file session when my application Terminate. is this possible in iPhone? i am developing ebook application in this application i have add new functionality (i.e when application

i want save play Audio file session when my application Terminate. is this possible in iPhone?

i am developing ebook application in this application i have add new functionality (i.e when application launch,page scroll and Audio file play simul开发者_运维百科taneously ) and while application terminate and re- launch the application, application start last state of application.

my query is how to save session state of Audio file, i have done save state of scroll offset but i don't not know how can i do save state of session of Audio file.

does anyone know above of the query ?

Thank you, Milan


Assuming you're using AVAudioPlayer, the currentTime property allows getting and setting the current position in your audio file.

AVAudioPlayer Class Reference.

0

精彩评论

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

关注公众号