//details for the callout - (NSString *)detailForGraphic(AGSGraphic *)graphic screenPoint(CGPoint)screen mapPoint(AGSPoint *)map { //return [NSString stringWithFormat:@"'90: %@, '99: %@", [graphic.attributes valueForKey:@"POP1990"], [graphic.attributes valueForKey:@"POP1999"]]; NSString *str= [NSString stringWithFormat:@"class:%@\n govement:%@\n",[graphic.attributes valueForKey:@"XL"],[graphic.attributes valueForKey:@"XZQMC"]]; NSLog(str); return str; } I hope that result such as "class:XXXX govement: XXX" this is also (NSString)str`s results. but the result is "class:XXXX govement: XXX", there is no line feed. How can i do ?
... View more