NSArray *nib = [[NSBundle mainBundle]loadNibNamed:[pages objectAtIndex:] owner:self options:nil];
//得到第一个UIView
UIView *tmpCustomView = [nib objectAtIndex:];
//获得屏幕的Frame
//CGRect tmpFrame = [[UIScreen mainScreen] bounds];
[self.view addSubView:tmpCustomView];