The virtual currency is returned in VirtualCurrency in the data of the response, as shown in the documentation: https://api.playfab.com/Documentation/Client/method/GetUserInventory. It's returned as a numeric value - no parentheses or spaces.
In our Objective C library, the virtual currency balances are returned in an NSDictionary in GetUserInventoryResult. Can you provide the code snippet showing how you're taking the value and adding it to the UILabel?
Thanks for the fast answer!! You put me on the right way. It s working fine now. I just fetched the value that was a number, turned it into a string value and Voila!
[[PlayFabClientAPI GetInstance] GetUserInventory:^(GetUserInventoryResult *result, NSObject *userData) { NSLog(@"Virtual currency:%@",result.VirtualCurrency.allValues); NSString *virtualCurrency = [result.VirtualCurrency.allValues objectAtIndex:0]; _goldStars.text = [NSString stringWithFormat:@"%@",virtualCurrency]; } failure:^(PlayFabError *error, NSObject *userData) { NSLog(@"error %@", error.errorMessage); } withUserData:nil];
No one has followed this question yet.