Smartface IOS vertical orientation works, horizontal orientation blank - device

When the orientation changed for Xcode product of smartface project, black screen appears. For Android horizontal orientation works ok but IOS has problem.
Is there any more setting?

You are changing the orientation from Project Details right ?
Can you check the Orientation settings on XCode ?
Maybe the orientation doesn't send to xCode Project. Is it possible to share orientation settings which you made ?

Related

xcode view wrong size and orientation

I created a view, but its appearance is wrong and I'm not sure how to correct it. I'm trying to design for an iPad Pro in landscape mode, but in the simulator and on a real device it appears like this.
MacOS 13.1
Xcode 14.2 (14C18)
Not sure where to look next.enter image description here
Just look at the example. The view is smaller than the simulator size and the orientation is portrait instead of landscape.

Xamarin.iOS: Adding image in visual studio assets.xcassets imageset for both landscape and portrait orienatation

For my Xamarin.iOS project I am using LaunchScreen.Storynboard for showing launch screen. For adding images, I am using asset catalog. My application supports both orientations on iPad. However, when I open imageset in visual studio it shows only one #2x image for iPad which will be occupied by Portrait image. Now, for adding landscape image I have edited its Contents.Json file and added image details there. added image locally and also added its entry in projects .csproject file.
However, when I build and run application its only picking one image and applying it to both the orientations.
e.g. Its picking landscape image and applying it in both landscape and portrait launch screen image. Now, in portrait mode image is showing vertically stretched.
which is causing UI issue.
How to set image for both the orientations in visual studio xcassets imageset?
Any suggestion would be appreciated.
Thank You.
How to set image for both the orientations in visual studio xcassets
imageset?
LaunchImage ImageSet is the old way which has been deprecated, we don't need to set storyboard or xib on Launch Screen, but it is nothing except image. We can't find a way to set LaunchImage ImageSet in the latest Visual-Studio.
Refer: Xcode 11 UILaunchImages has been deprecated, use launch storyboards instead Warning
Now, in portrait mode image is showing vertically stretched. which is
causing UI issue.
You should use auto-layout to layout your image in both landscape and portrait orientation so that it won't be stretched. See document here: Managing Launch Screens with Storyboards
:

How to rotate from portrait to landscape in Xcode Assistant Editor Preview Mode

I am using the Preview Mode in Interface builder in Xcode 10 and cannot see how to rotate from portrait to landscape.
In previous versions you just moved the mouse pointer over the preview outline and got a rotation button. This isn't happening for me.
It is impossible to see in dark mode, but click right where the arrow is and you will be good to go.

Popup orientation changes twice

Popup orientation changes twice once orientation of device is changed.
Please advise how to fix this issue in android Tab E device.
I have set popup - orientationModes:[Titanium.UI.LANDSCAPE_RIGHT,Titanium.UI.LANDSCAPE_LEFT],
Thanks
Issue is fixed. Removed orientation landscape from tiapp.xml

How to make an iOS app support landscape orientation in XCode?

How to make an iOS app support landscape orientation?
How do you make it support both landscape and portrait, where you can just press a button to activate it.
for any new people reading this old post just go to main.storyboard->click on the view controller click on simulated metrics (the fourth icon that pops up, looks kind of like a pentagon belt buckle)
then orientation->Landscape this is for Xcode 5

Resources