方法一:push-pop
推出:
test1VC *vc1 = [self.storyboard instantiateViewControllerWithIdentifier:@"test1VC"];
[self.navigationController pushViewController:vc1 animated:YES];
关闭:
[self.navigationController popViewControllerAnimated:YES];
方法二:present-dismiss
推出:
[self presentViewController:self.pickController animated:YES completion:nil];
关闭:
[self dismissViewControllerAnimated:YES completion:nil];