TableからDetailにSegue接続したときにエラーになる。

TableViewControllerからDetail用のViewControllerにSegueで接続して画面切り替えすると以下のようなエラーがでる。

nested push animation can result in corrupted navigation bar
Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
Unbalanced calls to begin/end appearance transitions for <ViewController: 0x6d36380>.

原因がよくわからないけど、どうもCellの名前に問題があるらしい。

単に「Cell」と入れたときと「myCell」と入れたときで変る。
「Cell」だと上のエラーになる。

static NSString *CellIdentifier = @"Cell";

これと同じ名前だからなのかな?

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)