Round corners for iOS

For the next version we include round corners for the iOS SDK with the Window.SetRoundCorners function in MBS FileMaker Plugin.

You can call Window.SetRoundCorners just after showing the card window. Our plugin will look for the top most card window and apply the corners.

Since there may be a short delay before FileMaker actually creates the card and shows it, we need to wait a bit. In our sample script, we perform a short script pause. Then even if FileMaker animates the card, the plugin can find it and apply the corners.

Here is a sample script for iOS:

New Window [ Style: Card ; Name: "test" ; Using layout: “PlaceHolder” ]
Pause/Resume Script [ Duration (seconds): ,1 ]
Set Variable [ $r ; Value: MBS( "Window.SetRoundCorners"; 0; 12) ]

If the pause is too short, the card may not be yet there and we may apply the corners to the main view.

To use this feature on iOS, you need to use Xcode to build yourself a branded FileMaker Go clone with our plugin embedded in the app. With a pure FileMaker Go this would not work.

For desktop and iOS you can just have the pause and the Window.SetRoundCorners call in script. If the plugin is not installed or activated, the call will just do nothing.

In MBS Plugin 15.3 you can use the function for MacOS and Windows in FileMaker Pro already. With version 15.4 we add iOS support.

Please try the function and let us know if you have questions.