-3

Is it possible to get three options when you swipe to the left on the lock screen as yes no and cancel in iPhone when the screen is locked.. For example as shown in API for swiping to the left on lock screen - iOS 8

Community
  • 1
  • 1
  • You mean you want 3 option when you swipe on a notification on the lockscreen? The example you liked in your question describes just that, they add yes and no but you could also add cancel. – rckoenes Jul 20 '16 at 14:46
  • So u mean to say it's possible to add three events or buttons – Romi Pirisila Jul 20 '16 at 16:18

1 Answers1

1

Seems that the lock screen can have max 2 button:

In iOS 8 and later, the lock screen, notification banners, and notification entries in Notification Center can display one or two custom actions.

If the alert is displayed modally you can use more:

Modal alerts can display up to four. When the user selects a custom action, iOS notifies your app so that you can perform the task associated with that action.

But there is no way to fore this.

Read the full spec in Registering Your Actionable Notification Types

rckoenes
  • 69,092
  • 8
  • 134
  • 166