Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

IsIOSSimulator

Queries whether run on iOS simulator.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Plugin 8.0 Yes Yes Yes Yes Yes
MBS( "IsIOSSimulator" )   More

Parameters

none

Result

Returns 1 or 0.

Description

Queries whether run on iOS simulator.
Returns 0 on iOS Device or on macOS, Windows and Linux.

Examples

Distinguish between device and simulator:

If [ MBS( "IsIOSDevice" ) = 1 ]
    # iOS specific things for device
Else If [ MBS("IsiOSSimulator") = 1 ]
    # iOS specific things for simulator
Else
    # other cases
End If

See also

Blog Entries

Created 9th December 2017, last changed 11st December 2017


IsIOSDevice   -   IsLinux

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat