New to the site. Not able to solve my problem from other posts. Seems simple enough, but I'm obviously missing something. I'm working in Xcode and have an array of float numbers. I want to output all to a label in vertical format. When I run the following code, I get a return of the last number only.
for (int x = 0; x < 6; ++x)
[myLabel setText:[NSString stringWithFormat:@"%f\n", numberArray[x]]];
What code needs to be added for all values to display? Reviewed a couple of other posts with similar question, but the solutions seemed overly complex for the issue and didn't work for me. Appreciate any guidance.