Styles for Alerts

  1. 2 years ago

    Marc

    10 Mar 2019 User since 2018
    Edited 2 years 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. konradkolasa

    21 Mar 2019 User since 2019
    Edited 2 years 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!