0

There is way to remove separators between actions in UIAlert (actionSheet style)?

protecthor
  • 11
  • 1

3 Answers3

0

It's not possible to do it with the system-provided UIAlertView.

However, have a look at this Swift-written repo. It may help you creating a custom alert.

fredpi
  • 8,414
  • 5
  • 41
  • 61
0

Sorry, but no:(

You can easily create your own following this or this tutorials.

I'm sure it will be useful experience for you!

Good luck!

EDIT: updated the links.

Tung Fam
  • 7,899
  • 4
  • 56
  • 63
0

Don't add UIAlertAction, then there will be no separator. You can add button programmatically by adding subview.

matthias_h
  • 11,356
  • 9
  • 22
  • 40