要拼的字符串全装到一个数值(orderArray)里面去,
NSString *result = [orderArray componentsJoinedByString:@"$"];
关键是这个componentsJoinedByString
要拼的字符串全装到一个数值(orderArray)里面去,
NSString *result = [orderArray componentsJoinedByString:@"$"];
关键是这个componentsJoinedByString