I created a app that is a music player.
I put UITableView in main screen and when user click a cell, New ViewController open and in it, I put pause and play and progress bar and other thing.
But when i back to tableview and select that cell again, progress bar and other thing value is 0.
How can i fix that ?
i Use How to use AVPlayer in multiple view and resume controls? to play song.
Asked
Active
Viewed 204 times
0

Community
- 1
- 1

user3767387
- 3
- 3
1 Answers
0
You just need to make a judgment in didselect,if willPlay == playing, just do pushNextController else loadData And pushNextController

pro_cookie
- 11
- 3
-
i didnt undrestand what should i do. are you saying to check playing ? – user3767387 Jul 29 '16 at 16:04