Oley

Oley

5th Grade

20 Qs

quiz-placeholder

Similar activities

S1-L4

S1-L4

5th Grade

15 Qs

五年级下册信息科技期末测试

五年级下册信息科技期末测试

5th Grade

20 Qs

python4-lesson05

python4-lesson05

2nd - 9th Grade

15 Qs

六年级scratch

六年级scratch

4th - 6th Grade

20 Qs

三上電腦基礎測驗

三上電腦基礎測驗

3rd - 6th Grade

19 Qs

11211_電腦簡報課測驗

11211_電腦簡報課測驗

5th Grade

15 Qs

zsTest1

zsTest1

KG - University

15 Qs

六年级TMK练习1

六年级TMK练习1

1st - 5th Grade

15 Qs

Oley

Oley

Assessment

Quiz

Computers

5th Grade

Easy

Created by

Stone Y

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?