简体   繁体   中英

How to intergrate the created view controller into the storyboard?

I have a view controller along with .xib created and also a story board. Now i want to have this viewcontroller's view to appear in the storyboard between the navigation bar and the tableview. I thought of dragging a new view controller and have that class point to the view controller i created. Is this solution correct?

Yes that is correct, drag a view controller from the object pallete, change the class name to your view controllers class name and party on. Hook up any segues in the story board you need to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM