控件不显示则是因为跳转页面时候,用的
[VC alloc] init];
而storyboard则是自己会初始化一个界面。我们只需要在
设置storyboard ID
并且
BezierPathVC* VC8 = [[UIStoryboard storyboardWithName:@"Main" bundle:nil]instantiateViewControllerWithIdentifier:@"BezierVC"];
控件不显示则是因为跳转页面时候,用的
[VC alloc] init];
而storyboard则是自己会初始化一个界面。我们只需要在
设置storyboard ID
并且
BezierPathVC* VC8 = [[UIStoryboard storyboardWithName:@"Main" bundle:nil]instantiateViewControllerWithIdentifier:@"BezierVC"];