TPKeyboardAvoiding
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
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.
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.
What's odd is that the setFrame function in the TPKeyboardAvoidingScrollView class is getting set to 414