である私がFirstClass
に私はUIButton
ためのログインを持つ2つのUIViewController
クラスを持って、ユーザーがボタンをタップしたとき、私はそのため... SecondClass
が表示されます私は、そのために私が行っている、私はFirstClassのにリダイレクトされますログアウトボタンを、持っている、試みが進行
SecondClass *index = [[SecondClass alloc] init];
[self presentModalViewController:index animated:YES];
を行っています
私はSecondClassにログアウトボタンを押すと、私は警告MSG
ここでの問題は何**Attempt to dismiss from view controller <FirstClass: 0e39w88e160> while a presentation or dismiss is in progress!**
を取得。..
がpresentedViewControllerとdismissViewControllerAnimated:完了:iOSの5.0 –
おかげ@PavelAlexeevから市販されている、私はドキュメントで検証し、私の答えを更新しました。 –