IOS 跳转页面
1. 跳转界面,关闭自身
LoginViewController *loginViewController = [[LoginViewController alloc]initWithNibName:@"LoginViewController" bundle:nil];
[self presentViewController:loginViewController animated:YES completion:^{
} ];
ios6以前是presentModalViewController;
2. 关闭当前视图
[self dismissViewControllerAnimated:YES completion:nil];
ios6以前是dismissModalViewController