移动应用开发简介 iOS 准备工作项目
“你好世界”应用程序
应用说明
'这个应用程序允许你改变文本的颜色。
应用演练
必需的用户情景
- 1. 用户在标签中看到自定义文本 – 来自 {name} 的你好!
- 2.用户看到的自定义背景颜色。
- 3.用户可以点击按钮来更改标签的文本颜色。
可选用户情景
- 1.用户可以点击按钮来更改背景视图的颜色。
- 2.用户可以点击按钮更改标签的文本字符串 - 再见👋。
- 3.用户可以点击背景视图将所有视图重置为默认设置。
- 4. User can update the label text with custom text entered into the text field.
- a. User can enter text into a text field using the keyboard.
- b. User can tap the “Change text string” button to update the label with the text from the text field.
- c. If the text field is empty, update label with default text string.
- d. The keyboard is dismissed after the button has been tapped.