Post ASICYddZ1M1Hfc3Gee by jk@skyjake.fi
 (DIR) More posts by jk@skyjake.fi
 (DIR) Post #ASICYddZ1M1Hfc3Gee by jk@skyjake.fi
       2023-02-03T05:26:55Z
       
       0 likes, 0 repeats
       
       A smooth app launch is nice for mobile UX, and iOS helps here with its launch screen feature. However, #Lagrange has had issues with this. It was usually launching into a black screen and the UI popped in after a moment.A few SDL tweaks/hacks later, the app now has a working launch screen storyboard and the UI appears smoothly, even when restoring a bunch of tabs.
       
 (DIR) Post #ASIeAJU16BPGvjm8Tg by mnordmeyer@layer8.space
       2023-02-03T10:36:18Z
       
       0 likes, 0 repeats
       
       @jk AFAIK what most Apple apps do is having a launch screen, which looks like an unpopulated version of the first screen that is going to displayed after a cold launch. In your case it would be URL and tab bar.
       
 (DIR) Post #ASIeg2W9iAsHZyu7Oq by jk@skyjake.fi
       2023-02-03T10:42:05Z
       
       0 likes, 0 repeats
       
       @mnordmeyer yep, that makes the launch seem faster.In my case that’s a little difficult because the entire UI is custom-drawn. Replicating it exactly with a storyboard is not trivial, with my UI theme/scaling/layout options.
       
 (DIR) Post #ASIfC52lr50ggFRCxk by mnordmeyer@layer8.space
       2023-02-03T10:47:51Z
       
       0 likes, 0 repeats
       
       @jk I never change my default font or screen sizing in iOS/iPadOS so I never experienced the behavior of Apple's apps in this case.In theory, can SDL draw in an off-screen buffer or something on option change, which you could programmatically screenshot?
       
 (DIR) Post #ASIfwmlBePhHaLU3cW by jk@skyjake.fi
       2023-02-03T10:56:19Z
       
       0 likes, 0 repeats
       
       @mnordmeyer I could certainly save a screenshot when saving the UI state. That’s an interesting idea!Not sure if it’s allowed to access such non-predeclared dynamic content in the launch screen, though. I suspect the OS caches the launch resources externally during app install for speedier access.
       
 (DIR) Post #ASIgSTBJyjZo88of1k by mnordmeyer@layer8.space
       2023-02-03T11:02:00Z
       
       0 likes, 0 repeats
       
       @jk You are probably right: http://arsenkin.com/launch_screen_image_cache.html