//
QRCodeVC*vc1=[[QRCodeVCalloc]init];
vc1.backType=self.backType;
vc1.lat=self.lat;
vc1.lng=self.lng;
vc1.model=self.model;
//--------------------------------------------
// IOS跳转到下一页面同时关闭当前页面
NSMutableArray*temp=self.navigationController.viewControllers.mutableCopy;
NSMutableArray*temp2=self.navigationController.viewControllers.mutableCopy;
NSLog(@"\n-000-temp:%@---\n",temp2);
for(UIViewController*vvvintemp2)
{
if([vvvisKindOfClass:[selfclass]])
{
[tempremoveObject:vvv];
}
}
NSLog(@"\n-111-temp:%@---\n",temp);
[tempaddObject:vc1];
NSLog(@"\n-222-temp:%@---\n",temp);
[self.navigationController setViewControllers:temp animated:YES];
//--------------------------------------------
网友评论