Can not select photo in landscape orientation.
Build.settings:
orientation =
{
default = “landscapeRight”,
supported = { “landscapeRight”, “landscapeLeft” }
},
Use new api:
media.selectPhoto(
{
mediaSource = media.SavedPhotosAlbum,
listener = onComplete,
origin = button.contentBounds,
permittedArrowDirections = { “right” }
} )
Console:
<Warning>: Generic error
UIApplicationInvalidInterfaceOrientation: Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES
Is there a solution?