Contents

invalidate()

Unregisters the session.

Declaration

func invalidate()

Discussion

Call this method when your app’s exchange with the data provider extension is complete but before releasing an active session. The system throws an error if your app releases an active session without invalidating it.

See Also

Managing the session life cycle