objective c - App crash in ios due to MPMoviePlayerViewController -
this question has answer here:
in video player app plays online streaming videos.so used
xcdyoutubekit
this plays video reference of mpmovieplayerviewcontroller. when first video playing , clicked on other gives me error , crash app.
at line number 1094 got following error.
movie player mpmovieplayercontrollernew: 0x13f0a1f10 has wrong activation state (1)
this happens when have more 1 mpmovieplayercontroller
instantiated. can play 1 video mpmovieplayercontroller
@ once.
from apple's doc,
note
although can create multiple mpmovieplayercontroller objects , present views in interface, 1 movie player @ time can play movie.
Comments
Post a Comment