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
Post a Comment