Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

iOSApp.SetDidReceiveMemoryWarningScript

Sets the script to be run when app gets a memory warning.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
iOSApp 7.4 No No No No Yes

MBS( "iOSApp.SetDidReceiveMemoryWarningScript"; Filename; ScriptName { ; Parameter } )

Parameters

Parameter Description Example value
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"
Parameter Optional
The script parameter.

Result

Returns OK or error.

Description

Sets the script to be run when app gets a memory warning.
Posted when the app receives a warning from the operating system about low memory availability.

Examples

Set trigger:

MBS( "iOSApp.SetDidReceiveMemoryWarningScript"; Get(Filename); "MemoryTrigger")

See also


iOSApp.SetDidReceiveMemoryWarningEvaluate   -   iOSApp.SetSignificantTimeChangeEvaluate

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos