Search code examples
iosuser-interfaceuiactionsheet

Is making a user confirm a UIActionSheet action bad design?


I'm using a UIActionSheet to let the user choose one of multiple actions. One of these actions is "Delete". However, the user might hit delete by mistake.

Should I reconsider having the action "Delete" mixed with other actions in this list, or is there some way I could make the user confirm that the choice was correct? For example a new UIActionSheet with the question "Are you sure you want to delete? Yes/No", or would this be considered as bad design?


Solution

  • I'd consider having the delete action as a separate button, and then having the Action sheet as the confirmation.

    If you take the Photos app as an example, the delete action is not in the action menu, but it's own button which then asks for confirmation using an action sheet. This is the same with other apps, like iMovie and Pages.

    The user probably won't like having to press through 2 action sheets, but will be even more annoyed if they accidentally press it. You can help with preventing accidents by making the delete option red in the action sheet, if you haven't already.

    It also depends on what is being deleted, if you are wiping the phone in the settings menu, then you will be asked twice. But deleting something like text is not going to have confirmation at all.