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): enter image description here

enter image description here

enter image description here


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -