Perhaps I'm doing something wrong, but I'm having consistent problems with the following:
Code: Select all
on mouseUp
set the lockloc of the templateimage to true
set the width of the templateimage to "300"
set the height of the templateimage to "400"
set the left of the templateimage to "10"
set the top of the templateimage to "10"
mobilePickPhoto "camera"
end mouseUp
Same behavior happens if I use "front camera" or "rear camera."
The odd thing is, however, that when I replace "camera" with "library," I'm able to successfully pick an image from my library and it appears on the card.
So, I'm wondering if there's some sort of bug with LiveCode 6.5 and iOS 7 when it comes to capturing an image. Or, perhaps, I need to do something different with captured images instead of images from the library? Any advice?
Thanks so much.
Joel