Cocoapods打包自己私有库的时候获取资源的方法

尝试用[UIImage imageNamed:@"" inBundle:[NSBundle bundleWithPath:[[NSBundle bundleForClass:[self class]] pathForResource:@"POMApp" ofType:@"bundle"]] compatibleWithTraitCollection:nil];获取POD中的资源。

posted @ 2016-07-20 23:24  老茶叶  阅读(505)  评论(0)    收藏  举报