IOS 支付完成回退到指定界面

//支付完成界面回退
- (void)_pushToDeatailVC {
    
    Phy_OrderDetailViewController *order=[[Phy_OrderDetailViewController alloc]init];
    order.recordType=2;
    order.resvOrderId=array8[0];
    
    NSArray *controlers = self.navigationController.viewControllers;
    if(controlers)
    {
        MainViewController *root = [controlers objectAtIndex:0];
        PhyExamRecordController *record=[[PhyExamRecordController alloc]init];//体检预约记录界面
        root.currentIndex = 3;
        [self.navigationController setViewControllers:@[root,record,order] animated:YES];
    }

}

你可能感兴趣的:(IOS)