becomeCurrent()

becomeCurrent()

becomeCurrent() Instance Method of INUserContext Replaces the previous context object with the current context object that has the same underlying type.

func becomeCurrent()

Discussion

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