Problème: Le UIAlertView
affiche \n
au lieu de rompre une ligne, à partir d'une réponse JSON.json ObjectForKey Nouvelle ligne
Réponse JSON:
{"error":"Line 1.\\nLine 2."}
code
[self setLastError:[dictJsonResult jsonObjectForKey:@"error"]];
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Registration Failed"
message:[ParseHelper lastError] delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil] autorelease];