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 - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -