Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アプリを開発しましたが、すべてが完了したようです。アプリは、IOS シミュレーターの下で完全に実行されます。(アプリは TableView を表示します)
今、私は自分の iPhone でそれをテストしたいのですが、APP がクラッシュし、TableViewCell の ReuseIdentifier が見つからないという例外がありました。
iPhone Simulator で同じことをもう一度行うと、すべてが完璧に機能します。
再利用識別子の大文字と小文字、およびコード内でその識別子を使用する場所を確認してください。シミュレータでは大文字と小文字は区別されません。実際のデバイスはです。たとえばthisIdentifier、と同じではありませんthisidentifier
thisIdentifier
thisidentifier