Is this an iPhone UIActionSheet?

2019-06-11 17:41发布

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?

2条回答
叛逆
2楼-- · 2019-06-11 18:10

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).

查看更多
贪生不怕死
3楼-- · 2019-06-11 18:17

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.

查看更多
登录 后发表回答