Reputation: 163
The height of the upper toolbar of my photo app varies from one screen size to another...
Considering those specifications, would it be possible to use a launch storyboard?
Upvotes: 0
Views: 108
Reputation: 27620
In a Launch Screen storyboard you can use variations that are based on size classes. Unfortunately in your case that does not work because in portrait mode all iOS Devices share the same height size class (Regular). So size classes are of no help here.
If the Launch Screen would be a "normal" UIViewController
you could update the height constraint of your upper toolbar programmatically. This does not work for a Launch Screen because it is displayed before you app is even running. You cannot change anything programmatically in a Launch Screen. So this does not work either.
What you could do is to set different Launch Images (depending on screen size) using your app's asset catalogue:
Now you can add different Launch Images for different Devices:
I'm afraid this is the only way that you can address the different devices screen sizes.
Upvotes: 1