Access Resources in pod
问题 I would like to include image assets in a cocoapod library, but I'm having trouble accessing them. I've read these resources for help: Cocoapods Resources Cocoapods Resource Bundles Mokacoding Resource Bundles David Potter Resource Bundles However, none point me in the direction of accessing the resources. I've tried the following: [UIImage imageWithData:[NSData dataWithContentsOfURL:[(NSBundle *)[NSBundle bundleWithIdentifier:@"Assets"] URLForResource:@"my-image@2x" withExtension:@"png"]]]