Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: xiewenqi.cs@gmail.com on March 11, 2014, 07:25:24 AM

Title: UICamera doesn't work when application becomes re-active on ios
Post by: xiewenqi.cs@gmail.com on March 11, 2014, 07:25:24 AM
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.
Title: Re: UICamera doesn't work when application becomes re-active on ios
Post by: ArenMook 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.