例如在當前A控制器利用模態跳轉到另一個B控制器
1.當前A控制器,跳轉代碼
self.modalPresentationStyle=UIModalPresentationPageSheet;
[self presentViewController:searchVC animated:YES completion:NULL];
2.返回當前A控制器,在剛纔跳到的B控制器中,加上返回代碼
[self dismissViewControllerAnimated:YES completion:NULL];