Can a UILabel exist in the storyboard with height/width constraints but no text?
My app displays data from an API that occasionally lags for a brief second before loading, even with a 3 second delay I set for the LaunchScreen. I currently have those labels set to "0", but it would be better if they could just be blank.
Appreciate any help!
4
Answers
In your viewDidLoad, set label text to empty string
From the storyboard:
And set your label value when you have data.
Yes, you can
just delete all text in storyboard
or clear it in
viewDidLoad
Yes, you can set empty text for labels in the storyboard. There is no issue in that.
Go to storyboard and select label and set nothing(no text) for label.
Yes, You will. You only have to set your label text empty
🙂