In iOS Split Screen Mode ( )

Function stats

Average user rating
662
435
9999
Support
FileMaker 10.0 +
Date posted
07 June 2021
Version
1
Recursive function
No

Author Info
 Peter

1 functions

Average Rating None

author_avatar



 

Function overview

Prototype

In iOS Split Screen Mode  (  )


Parameters

No parameters for this function.


Description

Tags:  FileMaker Go  

I have a FileMaker Go Solution that switches layouts depending on whether the user is on an iPad or an iPhone, and in portrait or landscape mode. I use an "on layout size change" trigger to detect when the user changes orientation. I use this function to detect if they are in split screen mode, and if so switch to using iPhone layouts instead of iPad layouts.

Examples

Sample input

In iOS Split Screen Mode


Sample output

1

 

Function code

// in ios device
(
( Get ( Device ) = 3 )
or
( Get ( Device ) = 4 )
)

and

//window dimensions do not match screen dimensions
(
( Get ( WindowWidth ) < Get ( WindowDesktopWidth ) )
or
( Get ( WindowHeight ) < Get ( WindowDesktopHeight ) )
)

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/435

    Prototype: In iOS Split Screen Mode( )
    Function Author: Peter (http://www.fmfunctions.com/mid/662)
    Last updated: 07 June 2021
    Version: 1

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (32)
Date  (30)
XML  (27)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)
Layout  (15)
Interface  (15)
Text  (14)
Variables  (13)
Filter  (12)
Design  (11)
Layout Objects  (11)
Array  (8)