Is this an iPhone UIActionSheet?

2019-06-11 17:35发布

问题:

JotNot has a screen that looks like this. It's similar to the built-in Photos app when you are viewing a photo in landscape mode and click on the low-left button, like this.

How do I get this control, in portrait mode if possible? What is it called?

回答1:

That is a UIActionSheet that has too many buttons to fit on the UI.

When there are too many buttons, UIActionSheet uses a stylised table view to display the choices. You can't make the sheet display in this way by choice - it only displays if there are too many buttons to show at one time (which is why it is often seen in landscape mode).



回答2:

Yes, it's an UIActionSheet, it has a list of buttons like a tableview when all buttons can not displayed at the same time on the screen.