title: how to create custom keyboard for my app
body: <p>I need to create custom keyboard for some TEdit in my (and only my) application for iOS8. Other edit`s need default iPad keyboard.</p>
  
  <p>In Objective-C it`s look simple - just create UIView and assign it to myTextField.inputView (<a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/index.html#//apple_ref/occ/instp/UITextField/inputView" rel="nofollow">https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextField_Class/index.html#//apple_ref/occ/instp/UITextField/inputView</a>).</p>
  
  <p>How can i do it in FMX (Delphi XE7)?</p>
  
  <p>Update.
  UITextField declared in iOSapi.UIKit.pas and its corresponding control is TiOSNativeEdit in FMX.Edit.iOS.pas.
  In TEdit its used in PresentationProxy property, but <strong>only if ControlType = Platform</strong>.
  For example:</p>
  
  <pre><code>var
    intf: UITextField;
  begin
    if edit1.PresentationProxy.HasNativeObject
      and (edit1.PresentationProxy.NativeObject.QueryInterface(UITextField, intf) = S_OK) then
      edit1.Text := 'Success'
    else
      edit1.Text := 'Failed';
  </code></pre>
  
  <p>After get UITextField interface (i think) you can do something like this:</p>
  
  <pre><code>intf.setInputView(myCreatedUIView);
  </code></pre>
  
  <p>But... i use styled controls, so this method not right for me.</p>
  
  <p>So I have to emulate a keyboard using TFrame, TLayout, etc...</p>