问题:UIAlertView
节目\n
改为从 Json 响应中换行。
json响应:
{"error":"Line 1.\\nLine 2."}
代码
[self setLastError:[dictJsonResult jsonObjectForKey:@"error"]];
UIAlertView *alert = [[[UIAlertView alloc] initWithTitle:@"Registration Failed"
message:[ParseHelper lastError] delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil] autorelease];