Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SystemInfo.IsiOSAppOnMac
Whether the app is for iOS and runs on macOS.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SystemInfo | 11.0 | ✅ 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" ) ]
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
Release notes
- Version 11.0
- Added SystemInfo.IsiOSAppOnMac function.
Blog Entries
- New in MBS FileMaker Plugin 11.0
- Neues MBS FileMaker Plugin 11.0
- MBS FileMaker Plugin 11.0 - More than 6400 Functions In One Plugin
- MBS FileMaker Plugin, version 11.0pr6
This function is free to use.
Created 8th January 2021, last changed 28th January 2023
SystemInfo.IsLowPowerModeEnabled - SystemInfo.LinuxSystemInfo