要拼的字符串全裝到一個數(shù)值(orderArray)里面去,
NSString *result = [orderArray componentsJoinedByString:@"$"];
關(guān)鍵是這個componentsJoinedByString
要拼的字符串全裝到一個數(shù)值(orderArray)里面去,
NSString *result = [orderArray componentsJoinedByString:@"$"];
關(guān)鍵是這個componentsJoinedByString