1.首先获取MainStoryBoard
UIStoryboard* storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
2.设置控制器对应xib的identifier(ViewController)

3.用storyboard获取控制器对象
ViewController* vc = [storyboard instantiateViewControllerWithIdentifier:@"ViewController"];