私は 2つUIViewController
のクラスを持っています。ここにFirstClass
はUIButton
for Loginがあり、ユーザーがボタンをタップすると、表示されます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!**
ここで問題は何ですか..