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

Gerry Orkin gerry.orkin at gmail.com
Wed Dec 11 01:19:11 EST 2013


Answer file isn't supported on iOS.  

Gerry


On 11 Dec 2013, at 5:11 pm, Geoff Canyon <gcanyon at gmail.com> wrote:

> So now the code reads:
> 
> *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*
> 
>      *answer* file "pick an image:"
> 
>      *import* paint from file it
> 
>   *end* *if*
> *...*




More information about the use-livecode mailing list