I am using media.show in my app and it is crashing on iPhone 5s with iOS7 installed. I have tested it with iPad 1 iOS5 and iPad mini iOS7 and it works fine.
I have still got -
CoronaUseIOS6IPadPhotoPickerLandscapeOnlyWorkaround = true,
In my build settings as it is a landscape only app.
Calling the camera or library I do -
[lua]
if media.hasSource( media.Camera ) then
media.show( media.Camera, onComplete )
else
native.showAlert( “Error”, “This device does not have a camera.”, { “OK” } )
end
[/lua]
and
[lua]
if media.hasSource( media.PhotoLibrary ) then
media.show(media.PhotoLibrary, {listener=onComplete, origin=libraryButton.contentBounds})
else
native.showAlert( “Error”, “Can’t access photo library.”, { “OK” } )
end
[/lua]
Both of the above are on buttons and when the button is pressed the app crashes out back to the OS.
EDIT: Forgot to say am using the latest build possible before moving to Graphics 2
Dave