1

Im making iOs Keyboard extension, now I add animation when user type something like in default iOS keyboard. Something like this:

enter image description here

I just move my UIButton layer upper like this:

button.layer.position.y = button.layer.position.y - button.layer.bounds.height

Everything is ok but everything under top line of keyboard is hidden, looks like clipSubviews = true. I try change it to controller.inputView and controller.view but nothing helps.

enter image description here

Button with "t" must be under keyboard.Please help.

Never_be
  • 839
  • 2
  • 10
  • 20
  • I find this - http://stackoverflow.com/questions/24969737/drawing-outside-uiinputviewcontroller-frame :(( – Never_be Mar 31 '16 at 12:10

2 Answers2

0

On my experience I just designed my keyboard a little bit less. Than you will get extra space on the top.

ObranS
  • 200
  • 2
  • 10
0

it is not possible to display key artwork above the top edge of a custom keyboard’s primary view, as the system keyboard does on iPhone when you tap and hold a key in the top row.

SuiHan
  • 1
  • 1