About messages on a screen

How does this type of messages call? I e when you tap on play button in some web site it displays.

this is called an actionsheet, a type of alertbox

This is not like an action sheet, cause it displays in the center of the View.
Also can you explain how to make this to display when user hits the play button in some website?

It’s an alert controller