我有两个UIViewController
类,其中在FirstClass
中我有一个UIButton
用于登录,当用户点击按钮时,我将显示SecondClass
... 为此,我已经完成了以下操作:
SecondClass *index = [[SecondClass alloc] init];
[self presentModalViewController:index animated:YES];
在SecondClass中我有一个注销按钮,它将重定向到FirstClass,为此我已经完成了。[self dismissModalViewControllerAnimated:YES];
当我在SecondClass中按下登出按钮时,会收到警告消息
**Attempt to dismiss from view controller <FirstClass: 0e39w88e160> while a presentation or dismiss is in progress!**
这里的问题是什么..