ui.lua button keeps holding in iOS when showing native alert on press

I have a button created by ui library (version 1.5) in my game, it shows a native alert on press, it works okay on Android and simulator but when I press the button on an iOS device (iPod Touch 2nd Generation) or iPhone simulator, the alert shows normally but the button is locked in “over” state, after I closed the alert, no matter where I touch on screen, the button will be pressed, the alert shows again.

The funny thing is that it only happens if I show an alert in the onPress function, I have tried to delay the alert call but without luck. I presume it is the problem of the ui library? Does anyone know where can I find the latest ui.lua file?

I have created a project which reproduces the problem:
http://dl.dropbox.com/u/16129782/Test.zip

Thanks,
Bret [import]uid: 48494 topic_id: 10210 reply_id: 310210[/import]

Im having the same problem! Grrr [import]uid: 10355 topic_id: 10210 reply_id: 37809[/import]

Im having the same problem! Grrr [import]uid: 10355 topic_id: 10210 reply_id: 37810[/import]

Same issue here. Any updates on this? [import]uid: 75358 topic_id: 10210 reply_id: 45577[/import]

I’ll bring this up in our next meeting.

Peach [import]uid: 52491 topic_id: 10210 reply_id: 45598[/import]

It looks like this issue hasn’t been resolved yet, right?
I just had the same problem…

Peach, you have any update about it?

Thanks! [import]uid: 53816 topic_id: 10210 reply_id: 90526[/import]

Hey Fel,

I’m not certain - have any of you got a bug # I can check out? [import]uid: 52491 topic_id: 10210 reply_id: 90655[/import]

Sorry but I don’t have it… Any way I could get it for you?

I was using a button created with the ui.lua from the samples… I solved it changing the buttonHandler if statement from “press” to “release”…

It’s probably easy to replicate the bug… For me it happened both on iphone and Ipad build.

Thanks [import]uid: 53816 topic_id: 10210 reply_id: 90726[/import]

Did you actually file a bug? If so, I believe you may have gotten an email with the case/bug # in it - if not, would you please file one with sample showing issue?

Peach :slight_smile: [import]uid: 52491 topic_id: 10210 reply_id: 90867[/import]