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?
Way to go apple…!!! Another fantastic move from the best and smartest genius that improving apple to go new step forward. “Oh No Wait it’s BACKWARDS again”.
I truly think FileMaker should ditch apple and start get along with android, even though I personally hate such an OS. however I believe that FileMaker will have many, many new and cool functions plus a lot of new options that it will take apple decades to implant in their OS.
It's FMI who skipped OrientationLock. It's up to them to find a way no matter how.
Please vote here:
Bring back "Orientation Lock" in FMGo
Did you know that FileMaker, Inc. is a wholely owned subsidiary of Apple, Inc.? The changes of FileMaker ditching Apple in favor of other operating systems is probably zero. Another excellent indicator of this fact is now being able to build iOS apps with FileMaker and being able to sell them through the App Store. I think this opportunity will only be built upon in future releases of FileMaker.
Benjamin, I already did.....
Steve, I know "FileMaker, Inc. is a wholly owned subsidiary of Apple,".
Anyway who would adopt such a software has no capability to lock screen orientation.
Hope we can get this back as well. There are apps like the Facebook app that lock orientation on iOS so its obviously possible.
With the iOS SDK, you can lock the orientation. Because FileMaker Go puts us one step beyond control at the app level, that's the reason we can't lock the orientation from within Go.
It's stinky. We need to request Apple to allow it. This isn't a place where FileMaker, Inc. gets a choice. That's how it was explained to me.
@stevesearns I am sure this probably has to do with FileMaker being able to create iOS apps now,
This is a lot of it^. Standard iOS apps built with Xcode use an entirely different (and infinitely more powerful) layout engine. FileMaker having their own orientation settings competing with Xcode would be a UI disaster. I suspect FileMaker is working toward a new layout engine more compatible with, or complementary to, the layout engine in Xcode.
It's definitely not an Apple issue, and Apple's not going to alter Xcode's auto-layout engine for FileMaker Go (and by extension, FIAS apps). FileMaker's going to have to work around it.
#SDK. Thanks for the reminder Joshua.
The orientation checkboxes in Project Settings > General don't have any effect. Something in the SDK appears to be overwriting it. You can force an orientation lock in code, though.
FIAS (SDK 17) Orientation Lock
I’m not sure what you mean. I’ve set the allowed orientation to the 2 landscape modes in Xcode. It works fine.
SDK 17 solution
Weird. Maybe the 16 SDK is different. I'm using Xcode 10 and the 17 SDK (with the Placeholder.fmp12 file), and the Device Orientation checkboxes in Xcode's `Deployment Info` area have no effect. It doesn't matter which boxes I check or uncheck, the included layout in the Placeholder file responds to all 4 orientations.
SDK 16 was no different than the sdk 17 in that regard.
I would guess that Joshua is talking about a standard xcode project and not a FIAS project.
I use the iOS SDK. No changes. Just include my solution files. It is possible the 17 SDK is different. I’ll try and test it next week and see if it is different.
Great. Let us know. I have a total of 14 followers on Twitter waiting to hear the results.
Retrieving data ...