在静态库中的xib跳转,bundle需要设置一下路径,否则容易报错: Could not load the nib '**" NSString * rescourcePath = [[NSBundle mainBundle] pathForResource:@"LibraryResources" ofType:@"bundle"]; NSBundle * bundle =[NSBundle bundleWithPath:rescourcePath]; MyViewController * myVC =[[MyViewController
alloc]initWithNibName:@"MyViewController" bundle:bundle];
在静态库中的xib跳转
最新推荐文章于 2025-07-23 10:55:28 发布
7010

被折叠的 条评论
为什么被折叠?



