No response from Corona Labs to my previous report of this issue, so I’ll try again and include a simple, reproducible test case.
For landscape only oriented apps, attempting to open the native Photo Library or Camera will crash on iOS 7 devices (not iPad).
For example, using this in build.settings to force landscape-only orientation
orientation = {
default = “landscapeRight”,
supported = {“landscapeRight”,“landscapeLeft”,},
},
Will cause this one line app to crash on iPhones and iPods running iOS 7 (built using latest daily build 2013.1225):
media.show( media.PhotoLibrary, sessionComplete)
On the simulator and iPads running iOS 7 this won’t crash and will open the Photo Library picker. On iOS 6 devices the crash can be prevented by using these Corona Labs provided workarounds in the plist of build.settings:
CoronaUseIOS6LandscapeOnlyWorkaround = true,
CoronaUseIOS6IPadPhotoPickerLandscapeOnlyWorkaround = true,
Unfortunately, these workarounds don’t function on devices running iOS 7. This is especially bad because formerly working, live apps built with Corona will now crash after users upgrade to iOS 7. I have already received customer complaints about it and expect to get more as more people upgrade to the latest iOS.
I have filed a bug report, case 26694.
-Stephen