Building an iOS app that takes pictures, first time always crashes
Thomas McGrath III
mcgrath3 at mac.com
Tue Dec 10 09:50:29 EST 2013
Geoff,
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.
FWIW
Tom
-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com
On Dec 10, 2013, at 12:55 AM, Geoff Canyon <gcanyon at gmail.com> 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