Now I know, I can set the Orientations in Main module use the code
if I set it
In a new page, I want set the Orientations to LandscapeLeft or LandscapeRight
how to difine the iPhoneOrientations and iPadOrientations to "LandscapeLeft, LandscapeRight"
I sample set it in the new module with new page's like
and error in the logs
"Attribute not supported:iphoneorientations"
B4X:
#iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
#iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
B4X:
#iPhoneOrientations: Portrait, PortraitUpsideDown
#iPadOrientations: Portrait, PortraitUpsideDown
how to difine the iPhoneOrientations and iPadOrientations to "LandscapeLeft, LandscapeRight"
I sample set it in the new module with new page's like
B4X:
'Code module
#Region Project Attributes
'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
#iPhoneOrientations: LandscapeRight
#iPadOrientations: LandscapeRight
#End Region
"Attribute not supported:iphoneorientations"