 <p>I think you did not connect the label with xib or storyboard properly.Kindly again connect the label with xib or storyboard correctly with the following screenshots and coding. </p> <p><strong>FIRST : I drag and drop the Label from the Object Library</strong> <a href="https://i.stack.imgur.com/3xc3D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3xc3D.png" alt="I drag and drop the Label from the Object Library"></a></p> <p><strong>SECOND : CLICK control + mouse on label and drag that label to ViewController.h</strong> <a href="https://i.stack.imgur.com/bOWaN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bOWaN.png" alt="enter image description here"></a></p> <p><strong>THIRD : Now BOX shows with default cursor in Name field</strong> <a href="https://i.stack.imgur.com/Xo3MB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xo3MB.png" alt="enter image description here"></a></p> <p><strong>FOUR : Finally give the Label Name in Name Field of BOX</strong> <a href="https://i.stack.imgur.com/U0hmV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U0hmV.png" alt="enter image description here"></a></p> <p>Once I did that Now the View Controller.h</p> <pre><code>#import &lt;UIKit/UIKit.h&gt; @interface ViewController : UIViewController @property (strong, nonatomic) IBOutlet UILabel *labelStringText; @end </code></pre> <p>Then in ViewController.m</p> <pre><code>#import "ViewController.h" @interface ViewController () @end @implementation ViewController @synthesize labelStringText; - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. labelStringText.text = @""; NSString *strLabelText = [NSString stringWithFormat:@"%@",labelStringText.text]; //OR NSString *strLabelText = labelStringText.text; } </code></pre> <p>for your simple understanding I set the label.text to string in viewDidLoad.You just set the string where you want.</p>