Show subtitles in a MPMoviePlayerViewController by default
开发者_开发百科Is there any way to show subtitules on a movie loaded by MPMoviePlayerViewController by default?? The movie has subs embed in the video.
Thank you!
Unfortunately this feature is missing in the MPMoviePlayer
playback classes. This is obviously rather annoying, and you should consider filing a feature request with Apple. You can use the AVPlayer
class instead, which as a .closedCaptionDisplayEnabled
property: the downside is it's somewhat more complicated to use and only available on iOS 4.0+.
精彩评论