jjzjj

thingViewController

全部标签

新 View Controller 的 iOS addSubview 不起作用

我正在尝试做这样的事情--(void)viewDidLoad{[superviewDidLoad];ThingViewController*thingViewController=[selfthingControllerForCard:self.card];thingViewController.view.frame=CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height);UIView*view=[thingViewControllerview];[self.viewaddSubview:view];