操作表在iPad上没有取消按钮

sha*_*nad 1 cancel-button uiactionsheet xamarin xamarin.forms

我正在使用xamarin.forms,在我的代码中,我有动作表,它没有iPad中的取消按钮.在iPhone中,我可以看到取消按钮但不能在iPad中看到

var action = await DisplayActionSheet(null, "Cancel", null, "string 2","string2");
Run Code Online (Sandbox Code Playgroud)

我做错了什么或有没有默认功能?

Byt*_*Guy 5

这是iPad上的预期行为 - 取消按钮被删除,因为用户可以在工作表之外点击以解除(取消)它.

DisplayActionSheet在iOS上使用UIAlertController下面和iPad上缺少取消按钮是标准行为UIAlertController.