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 Swift property wrapper is required for glass effect unions?
2.
Which Glass option applies no backdrop or effects?
3.
What is the default shape of a glassEffect backdrop if no shape is specified?
4.
What does buttonBorderShape() modify?
5.
Which modifier merges multiple views into a single continuous shape?
6.
Which function is used to animate transitions in SwiftUI?
7.
Which type of animation makes a button bounce during transitions?
8.
What effect demonstrates Liquid Glass fluidity when views bounce together and apart?
9.
Liquid Glass is the first major iOS UI design overhaul since which design?
10.
Which Glass option renders the most transparent backdrop?
11.
Which SwiftUI modifier applies Liquid Glass effects to views?
12.
What parameter of GlassEffectContainer controls when blending begins?
13.
Which SwiftUI shorthand can be used to declare a circle shape?
14.
What year did Apple introduce the Liquid Glass UI theme?
15.
What is the main design goal of Liquid Glass?
16.
Which method is used to apply a tint to Liquid Glass?
17.
Which container groups multiple views and applies blending effects?
18.
Which SwiftUI method can apply glass effects specifically to Button views?
19.
What happens if spacing is increased in a GlassEffectContainer?
20.
What does the first parameter of glassEffect() define?
21.
What does .interactive(true) do when applied to glassEffect?