TPKeyboardAvoiding icon indicating copy to clipboard operation
TPKeyboardAvoiding copied to clipboard

When using TPKeyboardAvoidingScrollView with Autolayout, the view is only 320 wide rather than resizing to 414 for 5.5 inch iPhone

Open inturbidus opened this issue 10 years ago • 2 comments

If I remove the subclass TPKeyboardAvoidingScrollView, the view respects the autolayout and "expands" to the size of the iPhone 6s+ properly. If I leave it, the view will be the size of an iPhone 5s.

inturbidus avatar Jan 16 '16 15:01 inturbidus

Also, this is in an older project with a XIB rather than a storyboard, so there may be some weirdness with the inferred size of the frame.

inturbidus avatar Jan 16 '16 15:01 inturbidus

What's odd is that the setFrame function in the TPKeyboardAvoidingScrollView class is getting set to 414

inturbidus avatar Jan 16 '16 15:01 inturbidus