iOS Guides | Samples

UIKit.UITextField.InputAccessoryView Property

A custom view to display when this control becomes the first responder.

Syntax

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 3, 2, ObjCRuntime.PlatformArchitecture.None, null)]
[get: Foundation.Export("inputAccessoryView")]
[get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 3, 2, ObjCRuntime.PlatformArchitecture.None, null)]
[set: Foundation.Export("setInputAccessoryView:")]
[set: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 3, 2, ObjCRuntime.PlatformArchitecture.None, null)]
public virtual UIView InputAccessoryView { get; set; }

Value

The default for this value is null, and no accessory view is displayed.

This value can be null.

Remarks

Assignment to this property will show an accessory view such as a toolbar on top of the UITextField.InputView. Application developers can use this property to create a toolbar, custom keys, etc. without fully replacing the keyboard.

Requirements

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