Author Topic: UICamera doesn't work when application becomes re-active on ios  (Read 2528 times)

xiewenqi.cs@gmail.com

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Hi, I'm using NGUI.3.5.3 now, with an IOS in app purchase plugin. When user performs a purchase request, a virtual keyboard appears at the bottom of the device to confirm apple id and password, with a corresponding dialog appears at the center of screen.

When user finished input and tap "ok" on the dialog, everything goes well. But if "cancel" is selected, then sometimes after virtual keyboard and dialog disappears, the screen region which the keyboard didn't cover before will not react to any finger action any more, but those covered by the keyboard before still works as normal. I tried put some log in UICamera, and it shows input detection is still working when part of the screen elements doesn't works, ProcessTouches still catches input.

Please help me out, thank you.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UICamera doesn't work when application becomes re-active on ios
« Reply #1 on: March 11, 2014, 04:21:33 PM »
Can't say I have an explanation for you -- sounds like something going wrong on Unity's side. NGUI simply processes the events it gets from Unity. If a touch event gets intercepted before Unity gets it, then NGUI won't get it either. You will need to dig deeper.