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 狀態(tài)欄,Switch 開關,Tab Bar 標簽欄,Text Field 文本輸入框,Visual Effect 毛玻璃效果
Related Examples 相關案例
Moments Onboarding
The original Moments app full onboarding flow.