What replaces the function "Set allowed orientation" for FM Go 16?
I would think that, since Apple's guidelines caused this feature to be removed, we as app developers have to build for the user to change their orientation (the screen's, that is) rather than lock them in. As I sit here and log into Wells Fargo on my phone (oh boy, when's payday?) I see that the UI changes as I rotate the device.
We can build sort-of-responsive layouts using the Autosizing, but also build for landscape and portrait mode and detecting that using the Get(Orientation) function and onLayoutSizeChange trigger.
Set Allowed Orientations is not supported in iOS 9 | FileMaker
There is also some trickery you can do to use the same layout for portrait and landscape. It involves some very purposeful planning.
this one mentions devices with split-screen capability - iPhones don't, but lock doesn't work either
Bring back "Orientation Lock" in FMGo
as stated before: I don't have to care on how Apple Inc. and their subsidiary FileMaker work this out.
Fact is: Not being able to set OrientationLock ends in a very unpleasant User Experience!
This is presumably caused by that company who claimed to set the standard for best User Experiences over the last decades.
As others have said the Set Orientation went away with an update to iOS and therefore FileMaker depreciated their own feature for it. I am sure this probably has to do with FileMaker being able to create iOS apps now, so consistency is key for iOS apps.
You can simply use the Rotation Lock on your iPhone by swiping up from the bottom of the screen and tapping the Rotation Lock icon in the upper right corner of the card. This may not be an ideal longterm solution, but you can use the GetOrientation and OnLayoutSizeChange switch between a portrait and landscape layout. Yes, it does mean more work to create the layouts and maintain them, but would provide a consistent iOS experience.
I use the Set Orientation too, so now it's time for me to make the necessary changes to my FileMaker iOS apps as well.
with all "dynamic layout" practice, be aware of this unresolved issue:
Anchors / dynamic layout fail with iPhone 6
the 'hardware'-orientation lock doesn't really help in some cases
- iPhone, layout in portrait mode
- then, from the portrait mode, change to a layout with a list, landscape mode
-> the orientation lock comes to play just fir that layout...
One can turn (not flip) the device to someone else without having the display to be changed...
To make a layout fit different devices / orientation.
Place a small line at the bottom right hand corner of your layout. Set the right and bottom anchors only. Set hide object when to 1 for this line. That's it now your layout will stretch to fit different layout / orientation.
Sample Dropbox - iosTest.fmp12
I also usually manage to design my layouts for iOS using auto-sizing anchors etc so that they work in both orientations (even if 'better' one way or the other), but there certainly are times when locking a solution to a single orientation is preferred, and it was great when this was first introduced in FileMaker Go 14... It is a bummer its being taken away again.
I really don't understand why it's being discontinued, seeing as other apps, particularly games etc are locked to a particular orientation, and even Apple's own apps such as the Music app and Phone app are fixed to portrait mode only... so why not have it available in FMGo?
I know there are issues with it on devices with split screen, but wouldn't it be better to get those issues sorted rather than scrapping the feature altogether.
The compass Apple app, does not even rotate.
So Apple does not even follow its own guidelines.
Give us that function back !
So, I have a (landscape-oriented) layout where I want to insert a photo in the iPad (taken from the camera), and sometimes in the camera I change the camera's orientation to take a Portrait photo.
I take it from this and other discussions that there's no way to automatically return me to Landscape mode after taking the photo. Can someone confirm?
Retrieving data ...