开发者

Does the SDK support @2x files for video

We are using the MPMoviePlayerController to control video pl开发者_开发知识库ayback, I just wanted to know (as I couldnt find any mention online) whether it took advantage of @2x files when displayed on iPod4/iPhone4, like the UIImage does


No, @2X it's only for UIimages.


It doesn't do it automatically like UIImage will. But you could always implement a system your self. Using a subclass, category or just in your current code before set what file is played by the movie player. So the code would be something like. If it has a retina display append @2x to the file path.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜