UIKit.UIInputView Class
A UIKit.UIView that matches the appearance of the system keyboard.

See Also: UIInputView Members

Syntax

[Foundation.Register("UIInputView", true)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public class UIInputView : UIView

Remarks

Application developers who wish to customize the appearance of the system keyboard can inherit from this class and add appropriate subviews.

To use a custom UIKit.UIInputView, application developers should assign the custom class to the UITextView.InputView property:

C# Example

var textField = new UITextField(new RectangleF(20, 40, 300, 41));
var inputView = new MyCustomInputView(new RectangleF(0, 0, UIScreen.MainScreen.Bounds.Width, 80), UIInputViewStyle.Keyboard);
textField.InputView = inputView;
          

Notifications relating to keyboard display (UIKit.UIKeyboard.Notifications.ObserveWillShow, UIKit.UIKeyboard.Notifications.ObserveDidShow, UIKit.UIKeyboard.Notifications.ObserveWillHide, UIKit.UIKeyboard.Notifications.ObserveDidHide ) will continue to be sent for custom input views. The UIKeyboardEventArgs.Frame value in those methods accounts for both the UIKit.UIInputView and the UITextField.InputAccessoryView (if one is assigned).

Related content

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0