3 ms·
Launch images (png) I'm flatly amazed that sort of thing isn't some kind of bitmap/vector hybrid format. Like a high resolution central logo and then rules for
by causi 4y ago
Launch images (png)
I'm flatly amazed that sort of thing isn't some kind of bitmap/vector hybrid format. Like a high resolution central logo and then rules for defining the background, like "blue fading to white at the edges".
- interpol_p 4y agoiOS has not required launch images for every size for some time now (since iOS 8 in 2014). It requires instead a piece of UI called a launch storyboard [1], which scales using the standard UI layout system to the different sizes However custom images can still be set for every possible size, if you really want [1] https://developer.apple.com/documentation/xcode/specifying-your-apps-launch-screen https://developer.apple.com/documentation/xcode/specifying-y...
- Lukas_Skywalker 4y agoAndroid has an interesting solution to this called 9-patch-files [1]. They basically add a 1px-margin around the image. By coloring the margin in different colors, you tell the OS what areas to stretch and what should be kept as-is based on the screen size. [1] https://developer.android.com/studio/write/draw9patch https://developer.android.com/studio/write/draw9patch