SystemInfo.IsiOSAppOnMac
------------------------

Whether the app is for iOS and runs on macOS.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SystemInfo](component_SystemInfo.md) | [11.0](newinversion110.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SystemInfo.IsiOSAppOnMac" ) ### Parameters

none

### Result

Returns 1, 0 or error.

### Description

Whether the app is for iOS and runs on macOS.  
A Boolean value that indicates whether the process is an iPhone or iPad app running on a Mac.  
The function returns 1 only when the process is an iOS app running on a Mac. The value of the function is 0 for all other apps on the Mac, including Mac apps built using Mac Catalyst. The function is also 0 for processes running on platforms other than macOS.  
  
If your app made with FileMaker iOS SDK runs on an Apple Silicon Mac, this function returns 1.  
Otherwise it returns zero.  
### Examples

Check for platform:

 If \[ MBS ( "[SystemInfo.isARM](SystemInfoisARM.md)" ) \]   
 If \[ MBS ( "SystemInfo.IsiOSAppOnMac" ) \]   
 Show Custom Dialog \[ "iOS app on macOS" \]   
 Else  
 Show Custom Dialog \[ "iOS app on iOS" \]   
 End If  
Else  
 Show Custom Dialog \[ "iOS app in simulator" \]   
End If  
### See also

- [SystemInfo.isARM](SystemInfoisARM.md)
- [SystemInfo.IsiOSAppOnVision](SystemInfoIsiOSAppOnVision.md)

### Release notes

- **Version 11.0**
    - Added [SystemInfo.IsiOSAppOnMac](https://www.mbsplugins.eu/SystemInfoIsiOSAppOnMac.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 11.0](https://www.mbsplugins.de/archive/2021-01-26/New_in_MBS_FileMaker_Plugin_11/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 11.0](https://www.mbsplugins.de/archive/2021-01-19/Neues_MBS_FileMaker_Plugin_110/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 11.0 - More than 6400 Functions In One Plugin](https://www.mbsplugins.de/archive/2021-01-19/MBS_FileMaker_Plugin_110_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.0pr6](https://www.mbsplugins.de/archive/2021-01-09/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 8th January 2021 , last changed 28th January 2023

  
[SystemInfo.IsLowPowerModeEnabled](SystemInfoIsLowPowerModeEnabled.md) - [SystemInfo.IsiOSAppOnVision](SystemInfoIsiOSAppOnVision.md)

[HTML Version](SystemInfoIsiOSAppOnMac.shtml)