Author Topic: iOS user input problem  (Read 2923 times)

mrlindsay

  • Guest
iOS user input problem
« on: August 24, 2012, 10:09:27 AM »
Hello, learning to love NGUI here, but I have a little problem.

Docs say that UIInput will automatically bring up the device keyboard when the user enters the field.  This isn't happening for my build for some reason.  Any ideas?

Looking at the log, I'm not certain that the button events are being fired either.

iOS SDK 5.1
Unity 3.5.5
NGUI (free) 2.0.7c

Many thanks
 - Michael

PhilipC

  • Guest
Re: iOS user input problem
« Reply #1 on: August 24, 2012, 11:06:41 AM »
Hi Michael,

Likely this is due to you using "NGUI (free) 2.0.7c" we're not 100% sure that it works all that well for iOS as your not the first person to mention this. The free version was really meant to have people using the editor understand NGUI's power before they buy. NGUI is also on 2.1.5 so alot has changed since the free version was last built.

mrlindsay

  • Guest
Re: iOS user input problem
« Reply #2 on: August 27, 2012, 12:34:21 PM »
Phillip, this totally fixed my user input problem.  Thanks.  The problem I'm having now is that all deactivated and destroyed panels are still being rendered, before the upgrade they were going away just fine.  NGUITools.SetActive(myGameObject, false) doesn't seem to be doing the trick.  I'm reading through similar posts now to figure it out, but if you have any suggestions that would be awesome.

Thanks,
 - Michael

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: iOS user input problem
« Reply #3 on: August 27, 2012, 12:36:05 PM »
They're not being rendered. Once you deactivate them, they're gone.

My guess is you're also deactivating the UI camera, which stops drawing the UI, thus leaving a "ghost" image of the previously drawn UI.