AViewController----Push----BViewController
1.属性
AViewController---pop----BViewController
1.代理 2.通知 3.Block 4.NSUserDefault 5.单例 6.属性
//Bviewcontroller已经存在于self.navigationController.viewControllers中,并且是当前页面的前一页面 AViewcontroller *AVC = [self.navigationController.viewControllers objectAtIndex:self.navigationController.viewControllers.count-2]; //初始化其属性 AVC.IDInfoArray = nil; //传递参数过去 AVC.IDInfoArray =self.responseArray; [self.navigationController popViewControllerAnimated:YES];
时间: 2024-10-01 03:14:13