Skip to content

Properly align text field when using on iPad #7

@mgrebenets

Description

@mgrebenets

When view is used on iPad, the position of input field (UIExpandingTextView) is misaligned after autorotation.
It looks like it can be fixed with code like this

    self.textView.autoresizingMask = UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;

when setting up toolbar.
I didn't look further though to find a way to make input field wider when used on iPad screen.
It can be surely done by detecting device in runtime.

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