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.


最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容