什么是从故事板实例化视图控制器和创建新实例之间的功能差异?例如:
无论哪种情况,
#import "SomeViewController.h"
...
SomeViewController *someViewController = [SomeViewController new];
对比
#import "SomeViewController.h"
...
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle: nil];
SomeViewController *someViewController = [storyboard instantiateViewControllerWithIdentifier:@"SomeViewController"];
无论哪种情况,
someViewController
是否实际上是相同的东西?