In iOS, using storyboard, how to setup a view controller inside a container view?

后端 未结 1 1424
遇见更好的自我
遇见更好的自我 2021-02-08 02:19

I have created and drawn out a custom UIViewController called AutocompleteVC in my Main storyboard. AutocompleteVC will be used in several different places/storyboards and with

1条回答
  •  终归单人心
    2021-02-08 02:45

    I'm not sure what you are asking. Setting up a parent/child relationship with a container view is very easy, exactly as you have outlined. Just create a container view inside the parent view controller, create the child view controller scene, and then control-drag from the container view to the child view controller to create the embed segue.

    0 讨论(0)
提交回复
热议问题