How to get the current playback time from moviePlayer?
-
02-10-2019 - |
Question
As i know
moviePlayer.duration
can get the duration of a movie, i know
playableDuration,
initialPlaybackTime,endPlaybackTime
,
but i want to get the current playback time of the moviePlayer .And if there has this method,which Notification should be sent to where,thank you!
Solution
MPMoviePlayer adopts the MPMediaPlayback protocol since 3.2, which contains the property .currentPlaybackTime
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow