This quiz is designed to test your knowledge of Liquid Glass in SwiftUI, Apple’s major UI design overhaul introduced in iOS 26. The questions cover concepts such as the design goals of Liquid Glass, the use of the glassEffect() modifier, container and button styling, animations, and blending behaviors. Each question includes explanations to help reinforce your understanding and provide context for the correct answers.
1.
What year did Apple introduce the Liquid Glass UI theme?
2.
Which SwiftUI method can apply glass effects specifically to Button views?
3.
What does .interactive(true) do when applied to glassEffect?
4.
What effect demonstrates Liquid Glass fluidity when views bounce together and apart?
5.
Which Glass option applies no backdrop or effects?
6.
Which SwiftUI shorthand can be used to declare a circle shape?
7.
Liquid Glass is the first major iOS UI design overhaul since which design?
8.
Which type of animation makes a button bounce during transitions?
9.
Which Glass option renders the most transparent backdrop?
10.
Which modifier merges multiple views into a single continuous shape?
11.
Which container groups multiple views and applies blending effects?
12.
What does buttonBorderShape() modify?
13.
Which SwiftUI modifier applies Liquid Glass effects to views?
14.
What parameter of GlassEffectContainer controls when blending begins?
15.
What does the first parameter of glassEffect() define?
16.
What is the default shape of a glassEffect backdrop if no shape is specified?
17.
What Swift property wrapper is required for glass effect unions?
18.
Which method is used to apply a tint to Liquid Glass?
19.
What happens if spacing is increased in a GlassEffectContainer?
20.
What is the main design goal of Liquid Glass?
21.
Which function is used to animate transitions in SwiftUI?