Ios navigationController弹出不正确的转换
我通过Ios navigationController弹出不正确的转换,ios,objective-c,uinavigationcontroller,Ios,Objective C,Uinavigationcontroller,我通过navigationController演示新的viewController: PTAgencyClients *pushedController = [[PTAgencyClients alloc] initWithNibName:@"PTAgencyClients" bundle:nil
navigationController
演示新的viewController
:
PTAgencyClients *pushedController = [[PTAgencyClients alloc] initWithNibName:@"PTAgencyClients"
bundle:nil
agency:agency];
[[self navigationController] pushViewController:pushedController
animated:YES];
[[self navigationController] popViewControllerAnimated:YES];
从这个PTAgencyClients
中,我试图通过以下方式弹出这个viewController
:
PTAgencyClients *pushedController = [[PTAgencyClients alloc] initWithNibName:@"PTAgencyClients"
bundle:nil
agency:agency];
[[self navigationController] pushViewController:pushedController
animated:YES];
[[self navigationController] popViewControllerAnimated:YES];
不知怎的,当我弹出它时,它没有从左到右的轻微动画。我做了一些实验,我看到了强大的转换,在其他情况下,从这个PTAgencyClients
的顶部可以看到上一个viewController
的转换。什么可以引发这种行为?
更新
它发生在设备和模拟器上。这是发生在设备上还是发生在模拟器上?我认为这只是一个滞后,因为有很多计算在进行。但是,如果您使用的是模拟器,这应该不是一个问题