-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Solve a problem with the new sdk on iOS 11 that causes an extra space… #631
Conversation
… in the bottom due to automatic content inset adjustment.
What about |
@dzenbot No... the problem here is because of a new property apple add to scrollViews, and it only affects iOS 11. |
Update tag -> 1.9.6 pls |
@kushak Today I'll update the tag! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting the insetAdjustmentBehavior
to never works and solves the issue.
But I would rather put the code into the TableView setup method:
- (UITableView *)tableViewWithStyle:(UITableViewStyle)style
Source/SLKTextViewController.m
Outdated
@@ -186,6 +186,11 @@ - (void)viewWillAppear:(BOOL)animated | |||
{ | |||
[super viewWillAppear:animated]; | |||
|
|||
// Deactivate automatic scrollView adjustment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this code because it duplicates the code in the tableView initialization.
@cornr Sorry, I forgot about it... Solved! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solves the problem.
Let's merge this in. Thank you @josepbordesjove! |
Where do we put that?? |
… in the bottom due to automatic content inset adjustment.
PR Summary
Related Issues