@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
self.button = [[UIButton alloc] initWithFrame:CGRectMake(0, 100, [[UIScreen mainScreen] bounds].size.width, 20)];
[self.button setTitle:@"touch me" forState:UIControlStateNormal];
[self.button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
[self.view addSubview:self.button];
[self.button addTarget:self action:@selector(clickMe:) forControlEvents:UIControlEventTouchUpInside];
}
-(void)clickMe:(id)sender{
UIStoryboard *myStoryboard = [UIStoryboard storyboardWithName:@"sencond" bundle:nil]; //"sencond"为另一个storyboard名字
UIViewController *secondVC = [myStoryboard instantiateViewControllerWithIdentifier:@"mainViewController"]; //"mainViewController"另一个storyboard中的id
[self presentViewController:secondVC animated:YES completion:nil];
}