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.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

SystemInfo.isTranslated

Queries whether application is translated on Apple Silicon Macs.

Component Version macOS Windows Linux Server iOS SDK
SystemInfo 10.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SystemInfo.isTranslated" )

Parameters

none

Result

Returns 0, 1, -1 or error.

Description

Queries whether application is translated on Apple Silicon Macs.
Returns 1 if Intel code gots translated to ARM code.
Returns 0 for a native ARM application.
Returns -1 if unknown.

See also SystemInfo.MachoArchInfo function.

Examples

Try it:

Show Custom Dialog [ "Rosetta?" ;
    If( MBS("SystemInfo.isTranslated"); "yes"; "no") ]

See also

Release notes

Blog Entries

Created 23th June 2020, last changed 18th December 2020


SystemInfo.isSnowLeopard - SystemInfo.isWindows10

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat