{
public static class SingleLine extends IOSNativeTextField
{
public SingleLine (IOSTextFieldHandler handler, IOSNativeTextField prior,
Field.Native field) {
super(handler, new UITextField(), prior, field);
_field = (UITextField)view;
_field.set_VerticalAlignment(
UIControlContentVerticalAlignment.wrap(UIControlContentVerticalAlignment.Center));
// all fields close the keyboard when the return key is used