When I\'m changing for example a bool in the Parse backend I can not retrieve this value in my iOS app. Please see the following screenshot where the first bool of the user obje
After you've made changes to your user's Parse table, call
[[PFUser currentUser] fetch]; //synchronous
or
[[PFUser currentUser] fetchInBackground]; //asynchronous
or
[[PFUser currentUser] fetchInBackgroundWithBlock:^(PFObject *object, NSError *error) { //asynchronous with completion block
before
[[PFUser currentUser] objectForKey:@"is_pro"]
to get an updated copy of your [PFUser currentUser]
object.
Note: refresh and refreshInBackgroundWithBlock: are now deprecated and have been replaced with fetch and fetchInBackgroundWithBlock:
Update:
As Ryan Kreager pointed out in the comments, it's probably better/more efficient to use fetchIfNeeded, fetchIfNeededInBackground, or fetchIfNeededInBackgroundWithBlock: "since they will use the local cache when available."