I am developing a Xamarin.Forms application for iOS, Android and UWP.
I would like to hook into hardware keyboard events at an application level (not an individual page level (because its a Xamarin.Forms application)) so that when a user presses a key on the keyboard I can invoke an action in my application.
On Android I did this using the following event on MainActivity:.
public override bool OnKeyUp([GeneratedEnum] Keycode keyCode, KeyEvent e)
{
//process key press
return base.OnKeyUp(keyCode, e);
}
Is there an equivilent for Xamarin iOS?