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: 10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

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

Blog Entries

Created 8th January 2021, last changed 11st January 2021


SystemInfo.IsLowPowerModeEnabled - SystemInfo.LinuxSystemInfo

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat