- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
The web view invoking the delegate method.
The message to be displayed.
The completion handler to call after the confirm panel has been dismissed. Pass
YESif the user chose OK, and pass
NOif the user chose Cancel.
For user security, implementations of this method should call attention to the fact that a specific website controls the content in this panel. A simple formula for identifying the controlling website is
frame. The panel should have two buttons, typically OK and Cancel.