Author Topic: Readymade scripts for moving the UI with OnScreenKeyboard  (Read 2465 times)

SmartCarrion

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Readymade scripts for moving the UI with OnScreenKeyboard
« on: March 26, 2015, 09:27:24 PM »
I've been searching around for code and am amazed i can't find a ready made solution for this...

Does anyone have good examples of how to adjust NGUI when the onscreenkeyboard is being popped up on a mobile device?  Right now it covers up the field they are entering, which makes it tough to use.

Seems like i need TouchScreenKeyboard.area and NGUI's viewport stuff, but i am finding the documentation missing or confusing.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Readymade scripts for moving the UI with OnScreenKeyboard
« Reply #1 on: March 27, 2015, 11:01:40 PM »
You'd need to adjust the camera's view rect I'm guessing. As I understand it, some Android versions do this automatically, while others don't, and there isn't much consistency in this particular behaviour.