Note that there are some explanatory texts on larger screens.

plurals
  1. POUILabel won't display in app
    primarykey
    data
    text
    <p>I am completely stumped by this one.</p> <p>I am having a problem getting UILabels to display in an app.</p> <p>I have three labels added to the xib. All three of them have identical settings with exceptions of the text, the text alignment, and the IBOutlet they are connected to. When the app loads, only one of the three labels displays on the screen. I have done everything I can think of to troubleshoot this bug and fix it, and I am coming up empty.</p> <p>I have done the following in an attempt to fix this behavior:</p> <ol> <li>verified that the IBOutlets are connected properly in IB</li> <li>deleted and reconnected the outlet connections in IB</li> <li>verified that the labels are alpha=1, and hidden=NO</li> <li>deleted the labels entirely, recreated and reconnected them</li> <li>NSlogged them to ensure they weren't nil</li> <li>NSlogged their attributes to ensure that they had valid CGRects, and that all other settings were as expected</li> <li>numerous clean builds</li> <li>deleting the app from the device</li> <li>reinstalling the app on the device</li> <li>quitting and restarting xcode</li> <li>dragged a completely new label onto the xib in IB, changed its background color, inputted static text. This UILabel did not display either</li> <li>dragged various UI elements (buttons, controls, switches, some of my UI imagery) onto the area of the xib where the labels should be, all of them DID display</li> <li>verified that no other views are obstructing the layout and/or covering the labels</li> <li>verified in the code that I am not altering the labels in any way that would make them not visible (i.e. no alpha or hidden changes, text and background colors are not clear, I am not overwriting the memory locations, reassigning the values, releasing)</li> <li>programmatically created the labels and drew their Rects in the appropriate spot</li> <li>I even got a different device and performed the same device-related steps on it</li> <li>google searched for answers</li> <li>found Greg Fiumara's blog and followed his steps</li> <li>there are likely a few other things I tried that I can't remember at the moment</li> </ol> <p>After doing all of this, I still can't get the labels to display at all. While the third label, which I mentioned at the beginning of this question, displays just fine. I am completely stumped. I could include code snippets, but I'm not sure how that would help at this point, especially given steps 11,12, and 13 above.</p> <p>Does anyone have any ideas?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload