ios - register for actionable notifications in watch app? -


i implementing actionable notifications in watch app..i have defined notification payload not receiving actionable buttons in notifications..according apple documentation

action buttons save time user offering standard responses notification. apple watch makes use of interactive notifications registered ios app display action buttons. in ios 8 , later, apps required register types of notification-generated alerts display using uiusernotificationsettings object. when registering information, app can register set of custom notification categories, include actions can performed category. apple watch uses category information add corresponding action buttons long-look interface.  

i have simple question mandatory register actionable notifications if have defined actions in payload file?

you need set usernotification setting , user notification action in code to. go through link


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -