3.3 iOS 控件 - Alert View 警告弹窗


An iOS alert view dialog with customizable actions. Use the Touch button on the component to get the tap events on the buttons.

属性
Turn On 打开
A pulse to animate and display the layer.
交互模块链接到这个接口,布尔值为真时打开警告弹窗。

Title 标题
The title text of the alert view.
弹窗的标题。

Message 信息
The message text of the alert view.
警报弹窗的消息文本。

Action 1 事件1
The text string for the first button.
第一个按钮的文字。

Style 1 样式1
The button style: Default, Cancel, or Destructive.
按钮的样式:默认、取消、警告。

Action 2...4 事件2..4
The text string for the second...fourth button.
2...4号按钮的文字。

板栗:这里给出了 4 个,表示最多可添加 4 个按钮;空白表示不使用,查看器中不显示。

Style 2...4
The button style: Default, Cancel, or Destructive.
2...4号按钮的样式:默认、取消、警告。

Tint 颜色
The int color of action text.
默认、取消样式按钮的颜色。

Touch 按钮

Button 1 Tapped 点击按钮1
A pulse that represents when Action 1 is tapped.
输出口连接到事件模块,点击按钮1激活对应事件。

Button 2...4 Tapped
A pulse that represents when Action 2 is tapped.
输出口连接到事件模块,点击按钮2..4激活对应事件。


Related Layers 相关图层

Action Sheet 操作表Activity Indicator 加载菊花Fake Keyboard 模拟键盘Page Control 翻页小点Screen 滑屏Slider 滑块Status Bar 状态栏Switch 开关Tab Bar 标签栏Text Field 文本输入框Visual Effect 毛玻璃效果


Related Examples 相关案例

Moments Onboarding
The original Moments app full onboarding flow.


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容