Instance Method

becomeCurrent()

Replaces the previous context object with the current context object that has the same underlying type.

Declaration

func becomeCurrent()

Discussion

Call this function when your app becomes active or there’s a significant change in the user’s status or library.