LoginSignup
0
1

[API] Failed to create 0x88 image slot~

Posted at

問題なく動作はしているようだが、エラーが発生。

Failed to create 0x88 image slot (alpha=1 wide=1) (client=0xe710c575) [0x5 (os/kern) failure]

iPadOS: [API] Failed to create 0x88 image slot (alpha=1 wide=0) (client=0xfbe80e61) [0x5 (os/kern) failure]
↑ シミュレータではなかったのに実機にしたら発生したということだが、自分の場合はシミュレータ(iPad Pro(11-inch)(4th generation))で発生している。
(ちなみに、シミュレータをiPhoneにしたら出なかった)

一行ずつデバッグしていくと、NavigationBarを非表示にするコードを変更したら、エラーが発生しなくなった。

// エラー発生する
// self.navigationController?.navigationBar.isHidden = true
// エラーしない
self.navigationController?.setNavigationBarHidden(true, animated: false)

ChatGptに聞いたら、以下の回答。

Failed to create 0x88 image slot のエラーは、ナビゲーションバーの非表示設定と直接の関係はないエラーですが、いくつかの要因によって発生することがあります。このエラーメッセージは、iOSやXcodeの内部で発生し、一般的にはアプリケーションコードに由来するものではありません。

自分の場合はエラーが消えたので、試してみても良いかもしれません:sweat_smile:

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1