自定义Bundle路径如下,需要获取到Info.plist文件:
1.从mainbundle中获取 自定义.bundle
2.再从 自定义.bundle 中获取对应的文件
NSString *bundlePath = [[NSBundle mainBundle] pathForResource:@"IMUIInputViewAssets" ofType:@"bundle"];
NSString *path = [[NSBundle bundleWithPath:bundlePath] pathForResource:@"Info" ofType:@"plist" inDirectory:@"com.apple.emoji"];
NSDictionary *dic = [NSDictionary dictionaryWithContentsOfFile:path];