xcode6 framework中使用xib

targets->build phases->Copy Bundle Resources加入相应的xib
重点是下面的路径

UIViewController *vc = [[UIViewController alloc]initWithNibName:@"Frameworks/CustomFrameWork.framework/ActivityViewController" bundle:nil];

你可能感兴趣的:(xcode6 framework中使用xib)