IsIOSDevice
-----------

Queries whether run on iOS device.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [8.0](newinversion80.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "IsIOSDevice" ) ### Parameters

none

### Result

Returns 1 or 0.

### Description

Queries whether run on iOS device.  
Returns 0 in simulator 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

- [IsIOSSimulator](IsIOSSimulator.md)

### Blog Entries

- [MBS FileMaker Plugin, version 7.6pr2](https://www.mbsplugins.de/archive/2017-12-11/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

This function is free to use.

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

  
[IsIOS](IsIOS.md) - [IsIOSSimulator](IsIOSSimulator.md)

[HTML Version](IsIOSDevice.shtml)