jeudi 5 mars 2015

MPMoviePlayerController seek bar is not appearing after applying natural size

I am using MPMoviePlayerController for playing video files and I am able to apply the natural size of the video with the help of MPMovieMediaTypesAvailableNotification. But after adding this notification seek bar is not appearing in the controlStyle (All other buttons are present). If I make the video frame hard coded (i.e. without considering the natural height) I will not get this issue.!


enter image description here


Here is my code.



I believe this issue might because of the natural size calculations of video player will be after it sets its components frames. If i don't use natural size, it works perfect!. How can I fix this issue?



Please share any solution or workaround on this issue. Thanks in advance,




Aucun commentaire:

Enregistrer un commentaire