我有两个ViewControllers
在Main.Storyboard
,入口点ViewController
有绿色背景,另一个是红色的背景。在第一个按钮点击ViewController
它应该显示第二个ViewController
,但第一个和第二个ViewControllers
彼此重叠,两个ViewControllers
按钮都是可点击的。ViewControllers在Main.Storyboard互相重叠
IST视图控制器(绿色),宾果是UIButton
第二视图控制器(红色),你好是UIButton
在按钮在第一点击事件视图控制器是:
MViewController *mvc = [self.storyboard instantiateViewControllerWithIdentifier:@"mvc"];
[self presentViewController:mvc animated:YES completion:nil];