iPhonePickPhoto freezing problem

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
grovecat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 99
Joined: Thu Aug 04, 2011 10:32 am

iPhonePickPhoto freezing problem

Post by grovecat » Wed May 02, 2012 4:12 am

On an iPad, iPhonePickPhoto brings up a window from which you can choose a photo or take a picture (depending on the source specified). If you inadvertently touch the screen outside that window, the app freezes. (On an iPhone the problem does not occur because the window takes up the whole screen).

I have dealt with that situation by using iPhonePIckPhoto on a blank card and covering the whole card with a button. The button handler responds to a second touch outside the pick window by sending the app back to the card with the getPicture command on it so the user can try again. That does the job but is pretty clumsy.

Ideally, I would like a touch outside the pick window to be ignored, but I don't see how to do it. It seems that the first touch is intercepted at a higher level, causing the freeze, hence the need for a second touch to do anything.

Otherwise, it would be good if the second touch called the getPicture command directly but that does not work. The instruction is ignored, even it I first go to the card on whose script the getPicture handler resides.

Any ideas on this one?

TIA
Don

i-Phonedeveloper
Posts: 2
Joined: Fri Apr 20, 2012 9:31 am
Contact:

Re: iPhonePickPhoto freezing problem

Post by i-Phonedeveloper » Fri May 04, 2012 11:30 am

You can try a soft reset or a hard reset. Hard reset seems to fix it.
Please see this :
iPhone4: How to Hard Reset on iPhone on itjungles[dot]com
How to Soft Reset on iPhone on itjungles[dot]com

Post Reply