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

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -