Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
下面的语句返回 null。
有人可以帮忙吗?
NSString *movpath = [[NSBundle mainBundle] pathForResource:@"Movie" ofType:@"m4v"];
谢谢
这主要是因为 Movie.m4v 不正确,您需要在构建阶段将其添加到资源中。