Building an iOS app that takes pictures, first time always crashes

Thomas McGrath III mcgrath3 at
Tue Dec 10 09:50:29 EST 2013


Don’t have time to check but I would look at the result. I think it returns “source not available” if there is a problem with the camera. See if the stack crashes before this answer dialog and what the result returns.



-- Tom McGrath III
mcgrath3 at

On Dec 10, 2013, at 12:55 AM, Geoff Canyon <gcanyon at> wrote:

> on takePhoto
>   if the environment is "mobile" then
>      mobilePickPhoto "camera”,300,300
	answer the result

>      if the result is "cancel" then
>         exit takePhoto
>      end if
>   else

More information about the Use-livecode mailing list