Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server (Not)
Client
Old
Guides
Examples
New in version:
6.5
7.0
7.1
7.2
7.3
7.4
7.5
8.0
8.1
8.2
Statistic
IsIOSSimulator
Queries whether run on iOS simulator.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
Plugin | 8.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "IsIOSSimulator" )
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
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins