mobilePickPhoto leaving behind the photo.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MrFollies
Posts: 29
Joined: Tue Jul 15, 2014 8:30 am

mobilePickPhoto leaving behind the photo.

Post by MrFollies » Thu Feb 26, 2015 10:59 am

Hiya All,

Does anyone know why the following code produces an unwanted image smack bang in the middle of the iOS screen after "Use photo" is clicked?

set the paintCompression to "png"
mobilePickPhoto "camera", 400, 460

Am I supposed to lock the screen or something after using the image? Or perhaps set "last image" to nothing?

I hope someone has seen this before (iOS 8.1, LC 7).

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: mobilePickPhoto leaving behind the photo.

Post by Dixie » Thu Feb 26, 2015 11:03 am

Delete the last image of the card after using it...

Code: Select all

delete the last image of this card

MrFollies
Posts: 29
Joined: Tue Jul 15, 2014 8:30 am

Re: mobilePickPhoto leaving behind the photo.

Post by MrFollies » Wed Mar 04, 2015 3:54 am

Thanks Dixie, That did the trick. Would have been awesome if it were in the docs ;-)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”