慕森卡
- (void)viewDidLoad{[super viewDidLoad];// Do any additional setup after loading the view, typically from a nib.NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"MyView" owner:self options:nil];UIView *tempMyView = [nib objectAtIndex:0];CGRect tempFrame = [[UIScreen mainScreen] bounds];[tempMyView setCenter:CGPointMake(tempFrame.size.width/2, tempFrame.size.height/2)];[self.view addSubview:tempMyView];}