ios - Xib based view is always full-screen and displayed on top of all other views -


this generic question , must missing simple.

i've create xib file, put few views in it, created view class inherited ui view, defined initwithcoder , initwithframe, set file's owner of xib class. view class loads xib via loadnibnamed. add custom view storyboard view takes half of screen. view appears correct on storyboard, can set constraints it, when app runs, view taking full screen. not appearing inside view i've added to.

what doing wrong?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -