Skip to content

[Feature] subclassing the UITableViewController to simplify content positioning and sizing. #55

Description

@royhsu

According to the Docs, UIViewController has to deal with content covered by the keyboard manually. It's better to make UITableViewController does this trivial tasks for us.

Adjusting your content typically involves temporarily resizing one or more views and positioning them so that the text object remains visible. The simplest way to manage text objects with the keyboard is to embed them inside a UIScrollView object or one of its subclasses, like UITableView. Note that UITableViewController automatically resizes and repositions its table view when there is inline editing of text fields (to learn more, see View Controllers and Navigation-Based Apps).

Source: Managing the Keyboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions