Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Jonathan Fernandez
8,325 PointsAdding a textfield and send button to the bottom of a tableview controller.
So I basically have no idea where to start or how to do this, but I technically want to place a Textfield with a send button on a tableview controller. Kinda like how it is in iMessage at the bottom of the view controller.
This is a tableview of friends for selection with check marking. Below will be the textfield where a user will place a string and then after selecting friends may tap the send button to send something.
Anyone have any idea how I can do this?
Side-note: I also found something like this but still have no idea how to use it to get the textfield to show up at the bottom of the screen.
https://github.com/songfrank/DAKeyboardControl
I was able to use the other methods though to provide keyboard dismissal which is very useful. ^^
Any feedback will be greatly appreciated! : )
1 Answer

Thomas Nilsen
14,957 PointsI'd have a look into scrollViews, content insets and offsets if I were you :)

Jonathan Fernandez
8,325 PointsOk thanks for the tip. Will have a look at some documents and materials I can find related to it. : )
Jonathan Fernandez
8,325 PointsJonathan Fernandez
8,325 PointsIf you still can't picture it, take a look at this video: https://www.youtube.com/watch?v=J6GLro0cyDU