AVPlayer IOS dont work when i popped view controller -


i have view controller , start play audio stream

nsurl *soundfileurl = [nsurl urlwithstring:info[@"link"]];  playeritem = [avplayeritem playeritemwithurl:soundfileurl]; player = [avplayer playerwithurl:soundfileurl];  [player play]; player.actionatitemend = avplayeractionatitemendnone; 

but when popped controller player doesn't work me!

what did expect happen? once popped controller player, player gets deallocated , released memory, , therefore cannot play more.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -