iOS 在framework中打包xib

廢話不多說,直接上圖 1、Copy Bundle Resources 中加入相關xib 2、這裏是重點,調用的時候不能直接寫 [objc] view plain copy [[NSBundle mainBundle] loadNibNamed:@"yourXibName" owner:nil options:nil]   而要加入framework中的路徑,否則在調用的時候會報找不到xib文件(路
相關文章
相關標籤/搜索