Get result of screen size to display in text field in Objective-c : I think this is really easy but how do I get the result of screen size to display in a text field in Objective-c. I can get it in NSLog, like so

CGRect rect = [[UIScreen mainScreen] bounds];
CGFloat screenHeight = rect.size.height;

NSLog(@"%f",screenHeight);


but not in a text field.

Any ideas?