How to convert NSArray into NSString
问题 How to convert NSArray into NSString in objective-c? 回答1: Bearing in mind that you don't say what's in the NSArray, you can do this: NSArray *arr = [NSArray arrayWithObjects: @"foo", @"bar", @"baz"]; [arr componentsJoinedByString: @","] 回答2: Aternatively to Frank's method, which works pretty well, you could also do NSString *myArrayString = [array description]; The default implementation of description on NSArray will print out the contents in a neatly formatted fashion. 回答3: This is how I