问题
In Xamarin Forms, here's the default iOS Picker:
How do I remove the shortcut bar (undo / redo / copy / paste)?
回答1:
In your custom renderer, you simply need to set the Control's InputAssistantItem.LeadingBarButtonGroups
and InputAssistantItem.TrailingBarButtonGroups
to null
.
The renderer would look something like this:
来源:https://stackoverflow.com/questions/37442203/xamarin-forms-ios-remove-shortcut-bar-from-picker