//使用xib文件 NSArray * views = [[NSBundle mainBundle] loadNibNamed:@"GPLoginView" owner:nil options:nil];