Sunday, 9 August 2020

Issues using wxWidgets on iOS

PNG files fail to load (in the Simulator - not tried a real device yet) using the 'builtin' PNG library

Warning: no bitmap handler for type 50 defined. Warning: CgBI: unhandled critical chunk Error: Couldn't load a PNG image - file is corrupted or not enough memory. Warning: Unknown image data format.

To fix set:

  • Compress PNG Files to NO
  • and
  • Remove Text Metadata From PNG Files to NO

Full screen

Currently wxWidgets doesn't support switching between full screen and non-full screen but I'm working on a patch.

To get fullscreen to work in the current version (3.1.5) you need to set your application to have a lanch screen storyboard and hide the status bar in the setting panel of the target application

No comments:

Post a Comment