How to scroll UITableView When Keyboard hides the bottom half section of the screen

Discussion in 'iOS Programming' started by kashif.vd, Jul 18, 2011.

  1. kashif.vd macrumors newbie

    Jul 18, 2011
    This is my custom design see screenShots

    1) 2 UITableView in this screen working perfect


    2) In this screen When Edit button pressed, both (UITableView -> UITableViewCells) become editable like that


    3) and now when you trying to edit (cell 2 of section 2), what happen the keyboard will appear and the keyboard covers the bottom half of the screen, and hence the issue. like that


    Suggest me what to do in this scenario. I am only using 2 UITableView.
  2. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    UITableView adjusts either the frame or the contentInsets of the table view when the keyboard appears/disappears. So no part of the tableview's content is behind the keyboard. That's what you need to do.

Share This Page