Styles for Alerts

  1. 2 months ago

    Marc

    Mar 10 User since 2018
    Edited 2 months ago by Marc

    The UIAlertController has a button style property, so that you can for example emphasise a delete action (color red).

    https://developer.apple.com/documentation/uikit/uialertaction/style

    Also you can give the alert itself an Action Sheet style:
    https://developer.apple.com/documentation/uikit/uialertcontroller/style

    It would be nice if these properties could be added.

  2. 8 weeks ago
    Edited 8 weeks ago by konradkolasa

    Upvote. I'm facing this need either. I'd also like to emphasize DELETE action in the confirmation alert.

or Sign Up to reply!