Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

iOSApp.SetDidReceiveMemoryWarningEvaluate

Sets the expression to be evaluated when app gets a memory warning.

Component Version macOS Windows Linux Server iOS SDK
iOSApp 7.4 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "iOSApp.SetDidReceiveMemoryWarningEvaluate"; Expression )   More

Parameters

Parameter Description Example
Expression The expression to evaluate.

Result

Returns OK or error.

Description

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

Version 10.2 and newer stores this in preferences, so it is restored if app when app starts again after being killed in background.

See also

Blog Entries

This function checks for a license.

Created 23th September 2017, last changed 16th March 2020


iOSApp.SetDidOpenURLScript - iOSApp.SetDidReceiveMemoryWarningScript