How to embed a custom view xib in a storyboard scene?

前端 未结 11 738
生来不讨喜
生来不讨喜 2021-01-29 21:33

I\'m relatively new in the XCode/iOS world; I\'ve done some decent sized storyboard based apps, but I didn\'t ever cut me teeth on the whole nib/xib thing. I want to use the sam

11条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-29 22:04

    While I don't recommend the path you're going down it can be done by placing an "embedded view controller view" where you want the view to appear.

    Embed a view controller that contains a single view -- the view you want to be reused.

提交回复
热议问题