NSArray *myArray = @[@"1st:array1",
@"2nd:array2",
@"3rd:array3"
];
NSString *labelString = [myArray componentsJoinedByString:@"\n"];
In this codelabelString
can be word wrapped.
But if use NSMutableAttributedString like this
NSAttributedString *resultString = [resultArray componentsJoinedByString:@"\n"];
it can't be joined by @"\n". Any other method is existed? Thanks.