extendedRuntimeSessionWillExpire(_:)
Indicates that the session is about to expire.
Declaration
func extendedRuntimeSessionWillExpire(_ extendedRuntimeSession: WKExtendedRuntimeSession)Parameters
- extendedRuntimeSession:
The session that is about to expire.
Discussion
The system only grants each session a limited amount of time to run. The system calls this method just before reaching that limit. Implement this method to finish any tasks and clean up before the session ends.