0
0
iOS Swiftmobile~20 mins

App icon and launch screen in iOS Swift - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Launch Screen & Icon Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
ui_behavior
intermediate
2:00remaining
What happens if the launch screen storyboard is missing?
In an iOS app, if the launch screen storyboard file is not set or missing, what will the user see when the app starts?
AA white screen until the app finishes loading
BThe app's main interface immediately without any delay
CA black screen until the app finishes loading
DThe app crashes on launch
Attempts:
2 left
💡 Hint
Think about the default background color shown by iOS when no launch screen is provided.
🧠 Conceptual
intermediate
2:00remaining
Why use an asset catalog for app icons?
Why is it recommended to use an asset catalog to manage app icons in an iOS project?
ABecause asset catalogs automatically manage all required icon sizes and organize them efficiently
BBecause asset catalogs allow you to write code to change icons dynamically
CBecause asset catalogs reduce the app size by compressing icons at runtime
DBecause asset catalogs are required to display icons only on iPads
Attempts:
2 left
💡 Hint
Think about how Xcode handles multiple icon sizes for different devices.
📝 Syntax
advanced
2:00remaining
Which Info.plist key sets the launch screen storyboard?
In the Info.plist file, which key correctly specifies the launch screen storyboard file name?
A"UIStoryboardLaunchName" with the storyboard file name as value
B"LaunchScreenFile" with the storyboard file name as value
C"CFBundleLaunchScreen" with the storyboard file name as value
D"UILaunchStoryboardName" with the storyboard file name as value
Attempts:
2 left
💡 Hint
Check the official Apple documentation for the exact key name.
lifecycle
advanced
2:00remaining
When is the launch screen displayed during app startup?
At what point during the iOS app startup lifecycle is the launch screen shown to the user?
AAfter the app delegate's application(_:didFinishLaunchingWithOptions:) method completes
BOnly after the first view controller is fully loaded
CWhile the app is loading and before the main interface is ready
DBefore the app process starts running any code
Attempts:
2 left
💡 Hint
Think about what the launch screen is meant to mask.
🔧 Debug
expert
3:00remaining
Why does the app icon not update after adding new images?
You added new app icon images to the asset catalog and set them correctly, but the app icon on the device still shows the old icon. What is the most likely cause?
AThe asset catalog was not included in the build target
BThe app needs to be deleted and reinstalled to clear the icon cache
CThe Info.plist does not reference the asset catalog for icons
DThe device does not support the new icon sizes
Attempts:
2 left
💡 Hint
Think about how iOS caches app icons on devices.