Hacker News new | ask | show | jobs
by richardwhiuk 3280 days ago
You can't programmatically generate the launch image on iOS.
1 comments

I've never worked with iOS but given what I've heard about the extensive restrictions on what apps can do, I'm not surprised. I guess this is more like an icon which the OS retrieves from a known place and displays, before the app even runs?

Then again, like most demosceners, I see "you can't" as a challenge... and immediately thought of whether exploiting the image format/whatever loads it to run the necessary code would do the trick. Probably wouldn't please Apple for sure. ;-)

I think it's instead brilliant that they are giving developers the opportunity to display an image that gives user feedback while the app is loading its binary, executing static constructors, dynamically linking libraries, etc. you are not forbidden to roll out your own splash screen screen, but it will not be as immediate and smooth as the builtin splash screen support.
Use an obscure format with a code execution vulnerability in imagemagick to run the generator.
PNG only, and I think certain types of PNG as well (e.g. you can't use the alpha channel).
iOS most certainly does not use ImageMagick to generate this images.