ios - Embedding TableView in TableViewController into another view -


i customize content of table view controller(add buttons, etc.) root view table view. way embed view , add controls on it?

you can use container view.

in storyboard create view controller use host controls. drag in container view object library (normally last item in list) , place want table view appear (which whole screen). doing this, container view create view controller. delete , ctrl drag container view table view controller , select embed segue.

by doing this, not have change in current table view controller if doesn't depend on other view controllers give data in order work. if does, however, assign segue identifier embed segue, implement prepareforsegue:sender: , whatever other segues.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -