IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API

WL.App.BackgroundHandler.setOnAppEnteringForeground

Define the behavior of the application before it enters the foreground

Applies for iOS 4 and later.

Parameter Description
handler Function. The function that is called upon receiving the event from iOS that the application is about to enter foreground.


Example

WL.App.BackgroundHandler.setOnAppEnteringForeground(myFunc);


Parent JavaScript client-side API





+

Search Tips   |   Advanced Search