UIToolbar above the keyboard - iPhone SDK

I have seen this question several times without any useful answers. I'm trying to place a toolbar above my UIKeyboard in my iPhone app, but I'm having difficulties. I found this example that GREAT works, except that my view is a UITableView instead of the standard [self.view addsubview:...] . Can anyone figure out how to apply this to a UITableView ? In short, I have several UITextFields in my table cells, so I want the toolbar to appear above the keyboard for these cells.

Thanks a lot, Brett

+7
objective-c iphone uitableview
source share
2 answers

Just do not use the table view directly as a view.
Use a view that will have a table view inside it.
Thus, you can use the tutorial as is ...

In my opinion, this method is much better - I do not have a view controller with one table view in any of my applications. There is always something extra on the screen ...

Also, I don't think using parentViewController is a good solution.
Not always you have it.
Actually, I don’t even understand how this works for you ...

+1
source share

The work for this will be to create a hidden text field in the view controller and present it in accordance with it, starting with the first responder. The view can be completely transparent, and the toolbar can be configured using the interface designer.

0
source share

All Articles