ios - Add button on top of UITableViewController (Swift) -


i trying add button ontop of uitableview controller table view. view controller has navigation controller , static cells, why uitableviewcontroller , not uiviewcontroller. trying add button @ bottom of screen attached navigation controller doesn't scroll table view.

i trying make similar below. has navigation controller top bar, table view static cells , button, how did button?

image: http://postimg.org/image/ilsmqqrip/

thanks!

update: how can use uiviewcontroller tableview static cells using swift?

i find container views useful in scenario! clean solution , easy implement.

just create normal uiviewcontroller, add button , containerview subviews of uiviewcontroller (the middle 1 in image below). create embed segue containerview uitableviewcontroller (the 1 on right).

storyboard

this way can use static cell prototypes, not being limited uitableview @ same time.

result:

result


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -