xib 创建view加载

CustomView *v = [[[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:self options:nil]lastObject]

猜你喜欢

转载自blog.csdn.net/yinxaingfu/article/details/51423475