Skip to content

Calculate constraint update based on converted rect.  #2

@markst

Description

@markst
    UIView * superview = [(UIView *)self.firstItem superview];
    CGRect keyboardFrame = [superview.window convertRect:keyboardFrame toView:superview.superview];
    CGFloat inset = superview.frame.origin.y + superview.frame.size.height - keyboardFrame.origin.y;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions