Titanium.App.pause

Event of Titanium.App.
Platform Since
iPhone 0.1
iPad 0.1

Summary

fired when an iOS application will stop being the focus.

Description

This includes not only the user leaving the application, but also pauses due to notifications or calls. See applicationWillResignActive for the exact behavior that triggers this event.

Note that making calls to functions which modify the UI during this event may cause execution UP TO the UI call before the suspension, but then execute the REMAINDER of the callback after the application is resumed (but before the resume event is triggered).

Properties

Properties of the object passed to the event callback:
Name Type Summary
source Object

Source object that fired the event.

type String

Name of the event fired.