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
Post a Comment