UNTextInputNotificationAction

Panther·2021년 8월 18일
0

https://developer.apple.com/documentation/usernotifications/untextinputnotificationaction

"An action that accepts user-typed text."

사용자가 입력한 텍스트를 수용하는 액션입니다.

Declaration

class UNTextInputNotificationAction : UNNotificationAction

Overview

사용자가 커스텀 텍스트 기반 응답을 제공할 수 있도록 해주는 액션을 정의하기 위해 UNTextInputNotificationAction 객체를 사용하시기 바랍니다. 사용자가 이 타입의 액션을 선택하면 시스템은 사용자가 텍스트 컨텐트에 입력 혹은 지시하기 위한 컨트롤을 표시합니다. 그러면 텍스트는 앱에 전달된 응답 객체에 포함됩니다.

액션 및 카테고리 정의 방법에 대한 더 많은 정보는 Declaring Your Actionable Notification Types를 보시기 바랍니다.

Declaring Your Actionable Notification Types
https://developer.apple.com/documentation/usernotifications/declaring_your_actionable_notification_types
https://velog.io/@panther222128/Declaring-Your-Actionable-Notification-Types

See Also


Notification Categories and User Actions

Declaring Your Actionable Notification Types

노티피케이션을 차별화하고 노티피케이션 인터페이스에 액션 버튼을 추가합니다.

https://developer.apple.com/documentation/usernotifications/declaring_your_actionable_notification_types
https://velog.io/@panther222128/Declaring-Your-Actionable-Notification-Types

UNNotificationCategory

앱이 지원할 수 있는 노티피케이션의 타입과 시스템이 표시할 수 있는 커스텀 액션입니다.

https://developer.apple.com/documentation/usernotifications/unnotificationcategory
https://velog.io/@panther222128/UNNotificationCategory

UNNotificationAction

앱이 시스템이 전달하는 노티피케이션에 대한 응답을 수행하는 작업입니다.

https://developer.apple.com/documentation/usernotifications/unnotificationaction
https://velog.io/@panther222128/UNNotificationAction


0개의 댓글