When you sign in using Parse, [PFUser currentUser]
is cached locally on the device. I have a problem in that some custom data stored in that user's object can be updated outside of the app, so if the user is still logged in calling [PFUser currentUser]
will get the cached user object and therefore it won't have the new data. To update the cached user's object, the user has to sign out and back in.
How can I update/refetch the current user programmatically without discarding their session?