I am new in iPhone app development so I have a problem with assigning string value into UILabel.
Code is here:
myLabel.text = [NSString stringWithFormat:@"%@", dataArr[row]];
the value of dataArr[row] is good - but myLabel variable appears as null.
How to solve this issue, please help me.!
Tarun Kumar
24-Nov-2015I think your myLabel variable property is set like this:
If you are defining property like that then you need to connect this to an actual UILabel in InterfaceBuilder.
After that you will set the myLabel text using this code: