Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Fetch Parse PFUser data in iOS

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 125
    Comment on it

    If you are querying on Parse User class and not getting the user data of custom columns then use below code.

    PFQuery *query= [PFUser query];
        [query whereKey:@"username" equalTo:[[PFUser currentUser]username]];
        [query getFirstObjectInBackgroundWithBlock:^(PFObject *object, NSError *error){
    
            if (!error) {
    //Do whatever...
    }
    }];
    

    Happy Coding!!!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: