我想知道如何将 NSArray [@"Apple", @"Pear", 323, @"Orange"]
转换为 中的字符串Objective-C.
最佳答案
NSString * result = [[array valueForKey:@"description"] componentsJoinedByString:@""];
关于objective-c - 在 Objective-C 中将 NSArray 转换为 NSString,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1828665/