[英]Is it possible to make iPad show normal action sheet without popover?
When I want to show an action sheet in my app I show UIAlertController
with preffered style .ActionSheet
. 当我想在我的应用程序中显示操作表时,我将显示具有
UIAlertController
样式.ActionSheet
。 However when running on iPad it is not shown as an action sheet but as a popover. 但是,在iPad上运行时,它不会显示为操作表,而是显示为弹出窗口。 And this is not what I need.
这不是我所需要的。 I would like to still show normal action sheet.
我仍然想显示正常的操作表。 And I have a few questions regarding this:
我对此有一些疑问:
1) Is there a way to force iPad show an action sheet? 1)有没有一种方法可以强迫iPad显示操作表? 2) If not, then maybe there's a library which does that?
2)如果没有,那么也许有一个图书馆在做那个? 3) If there's no such library and I have to write my own custom implementation of an action sheet then will Apple reject me for making iPad show it instead of a popover?
3)如果没有这样的库,而我必须编写自己的自定义动作表实现,那么Apple会拒绝我让iPad显示它而不是弹出窗口吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.