[Solved] Objective-c: simple strings (beginner) [closed]


If all the displays are UILabel objects, then change this
word = [NSString stringWithFormat:@"%@ %@ %@ %@ %@ %@ %@ %@ %@", display1, display2, display3, display4, display5, display6, display7, display8, display9];
to
word = [NSString stringWithFormat:@"%@ %@ %@ %@ %@ %@ %@ %@ %@", display1.text, display2.text, display3.text, display4.text, display5.text, display6.text, display7.text, display8.text, display9.text];

solved Objective-c: simple strings (beginner) [closed]