Another take on the “keyboard obscures UITextField” problem

后端 未结 3 2028
不思量自难忘°
不思量自难忘° 2021-01-13 13:56

I know that this is a common problem and the UITableViewController fixed this is iPhone SDK 3.0, but the UITableViewController is not working as I expect, probably due to ho

3条回答
  •  孤独总比滥情好
    2021-01-13 14:34

    If you select the last item in table, it really cannot scroll above keyboard, because there's not enough table to scroll. It does scroll as far as it can, but that might not be enough to bring the selected item visible.

    What I did was resize the table to be fully visible just above the keyboard. It's not as smooth as it should be, but good enough == each and every item can be visible.

提交回复
热议问题