
Oley
Quiz
•
Computers
•
5th Grade
•
Easy
Stone Y
Used 3+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在 SwiftUI 中,以下哪种视图用于将视图组件垂直排列?
ZStack
HStack
VStack
shaStackViewpe
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
使用 .frame(width: 50) 设置视图的宽度为多少?
25
50
100
200
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Text("Hello").foregroundColor(.red) 的作用是?
显示“Hello”并设置背景色为红色
显示“Hello”并设置文字颜色为红色
隐藏“Hello”
显示“Hello”并设置字体加粗
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在 SwiftUI 中,Spacer() 的作用是?
水平或垂直分隔视图
添加图片
添加颜色
增加按钮功能
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
如果要在 SwiftUI 中垂直排列内容并覆盖整个安全区域,应使用哪个视图?
Text
ZStack
VStack
HStack
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
在 SwiftUI 中,哪个修饰符可以为视图添加默认的 16 点内边距?
.padding()
.frame()
.font()
.bold()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
VStack{}.padding(50) 的作用是什么?
为所有视图设置固定大小
为 VStack 添加 50 点的内边距
将背景色设置为红色
设置 VStack 的字体
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade