ios – 在iPhone上的popover中显示UIAlertController ActionSheet
我正在创建和呈现一个ActionSheet如下:这在iPad上工作正常,但在iPhone上alertController.popoverPresentationController为零.我已经使用自适应segue风格成功地在iPhone上展示了Popovers在接口构建器中呈现为Popover,并实现adaptivePresentationStyleForPresentationControlle