iOS Xcode open other view automatically

This is the code which open new view.

 UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]]; UIViewController *myController = [storyboard instantiateViewControllerWithIdentifier:@"Yontem2"]; [self presentViewController:myController animated:YES completion:nil];

@”Main” -> Because of Main.storyboard file
@”Yontem2″ -> is name of our view Yontem2.h and Yontem2.m Also you have to use storyboard Yontem2