iOS 7.0 Camera, LiveCode 6.5 problems
Posted: Sun Dec 15, 2013 5:49 pm
Hi all -
Perhaps I'm doing something wrong, but I'm having consistent problems with the following:
When running the above on my device (iPhone 4S running iOS 7.0.3 and LiveCode 6.5.0 (build 3009), the camera control does indeed come up, and I can take a photo, but when I get to the point that I tap "use photo" the application just quits.
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
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