0

Is it possible for a malicious developer to interchange ok and cancel in the title of an alert button? In other words, "ok" means cancel, "cancel" means ok.

https://developer.apple.com/design/human-interface-guidelines/ios/views/alerts/

2
  • Probably, why? you want to do it?
    – Solar Mike
    Commented Jan 15, 2022 at 7:33
  • It's entirely up the developer what the consequence of pressing each button is.
    – benwiggy
    Commented Jan 15, 2022 at 9:56

1 Answer 1

0

Yes, if the developer wants to interchange the labels or purpose of an alert's buttons, they can.

This is also possible without malicious intent. A mistake or error in the code written by the developer can create this behaviour.

You must log in to answer this question.