ios - view controller with nib subview nil -
i have view controller nib file , want show custom view in mainviewcontroller.
i instantiate viewcontroller
var addviewc = addviewcontroller(nibname:"addviewcontroller", bundle: nsbundle.mainbundle()) addviewcontroller
adjust frame
addviewc.view.frame = self.view.frame
and add view
self.view.addsubview(addviewc.view);
in nib file view , 2 textfields. every thing visible. can textfields on outlets view(background) nil. can tell me why? , how change this!
the nib (i can't red view):
Comments
Post a Comment