Styles for Alerts

  1. last year

    Marc

    10 Mar 2019 User since 2018
    Edited last year 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 last year 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!