xcode - UIButton and UILabel not showing up on device screen -
i have uilabel , uibutton in xib interface builder. 600x600 screen says i'll dragging+dropping on view.
when drag , drop label , button onto view, , make them iboutlet properties, seem not part of view hierarchy.
@property (retain, nonatomic) iboutlet uilabel *label; @property (retain, nonatomic) iboutlet uibutton *button; they each have own respective constraints.
here's 2 images.
interface builder interface builder outlet
i have synthesized both properties. need programmatically? thought interface builder took care of everything, why ask. class in question custom subclass of uiviewcontroller, need drag , drop on view controller instead?
Comments
Post a Comment