Recently in the project. To do this, add an input box to the cell above the TableView. Allow user input.
1. My first choice is to set the contents of the TableView to the top of the keyboard when the Uitextview is notified and the keyboard appears. But I do not know why, my keyboard appeared, but TableView did not appear. But when I type, tableview can go up again.
I think the above method is not feasible.
2. I just use uitextfiled such words when the keyboard comes out, tableview really can move up, but my God, uitextfiled unexpectedly can't change line!!!!
This is the focus, I think there is only one row, and can not be left and right sliding, I Baidu for a long time, who if know how to swipe left and right, please tell me, you can leave a message in the comment section below, thank you here. This is all right.
3. Since it's all gone. You can only use the old fashioned. I wrote an article in my blog before. It's just a uitableviewcontroller implementation.
Creating a Uiviewcontroller inherits from the Uitaleviewcontroller. Because the Uitableviewcontroller automatically has the function of sliding. Interested can turn over my blog.
Problem, and overcome it.
Recently I encountered a problem, that is, Uitaleviewcontroller in the UITableView style is pain people want to use group what to do. In your VC rewrite Initwithstyle method on it, I also wrote in the blog, interested in turning over.
I decided: Since this uitableviewcontroller is so good, I will use it later.
This question, did long time, did not think or use the old way, hehe, a sentence to himself.
iOS talk about uitextfiled Uitextview on the cell top of TableView