开发者

Movies from property lists?

is it possible to play movies out of a property list? Like is there's a "tag" with the filename in it which gets replaced by the actual ipho开发者_StackOverflow社区ne/ipad player? The movies are h.265 codec...

thanks


I'm assuming that you mean, can you use the property list as an array which will hold a bunch of filenames for movies that you want to play?

All the property list can be is a text file of sorts that contains a bunch of key-value pairs. I think you are misunderstanding what a property list file is.

Think about it this way: the info.plist file stores text data about your app when it runs or gets added to the AppStore. That's all it does though: stores text data. There are no special tricks like you're speaking of to get it to launch movies or anything else. You'd have to implement all of that in code yourself based on what the plist value was for a particular key.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜