From Xojo Documentation

Constant As Boolean

aBoolean = TargetiOS

Used to indicate that you are compiling code for iOS.


result = TargetiOS

Part Type Description
result Boolean Returns True if you are compiling or running for iOS.

See Also

DebugBuild, XojoVersion, XojoVersionString, TargetBigEndian, TargetMacOS, TargetDesktop, TargetLinux, TargetLittleEndian, TargetWeb, TargetWindows, TargetX86, TargetARM constants; #If...#Endif statement.