加载nib中自定义UIView
UIView* v = self.detailView;
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"xx_iPad" owner:self options:nil];
UIView *subView = [nib objectAtIndex:0];
[v addSubview:subView];
加载nib中自定义UIView
UIView* v = self.detailView;
NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"xx_iPad" owner:self options:nil];
UIView *subView = [nib objectAtIndex:0];
[v addSubview:subView];