How to add a toolbar to the BOTTOM of a UITableView obj-c/ios/xcode

后端 未结 4 1635
误落风尘
误落风尘 2021-02-06 15:07

how do I add Programmaticaly a toolbar with uitextfield at the bottom of a tableview? Like a chat or sms app.. thank you in advance..

4条回答
  •  迷失自我
    2021-02-06 16:06

    It's not great in some ways, but I solved this by using a Container View on an additional View Controller.

    The Intermediate VC to Table VC segue is "Embed"

    I used this instead of the "Toolbar on Nav Controller" solution because I'm adding this to an existing app design with ~15 screens, and I wasn't sure how to configure different toolbars on different screens.

提交回复
热议问题