我有这段代码可以打开带有情节提要的视图控制器
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
secondViewController = [storyboard instantiateViewControllerWithIdentifier:@"SecondViewController"];
[self.view addSubview:secondViewController.view];
它工作正常,但是当我删除它时,我想释放 secondViewController
[secondViewController.view removeFromSuperview];
并释放它???当我调用 secondViewController 时没有分配...