Merge branch 'bugfix/scrollview_content_adjustment_fix' into 'develop'
remove navigation bar check for manual inset calculation as it impacts presented controllers See merge request BPHV_MIPS/mvm_core_ui!187
This commit is contained in:
commit
0915333878
@ -91,7 +91,7 @@ static NSTimeInterval const HandScrollAnimationTiming = 7.f;
|
|||||||
- (void)viewDidLayoutSubviews {
|
- (void)viewDidLayoutSubviews {
|
||||||
[super viewDidLayoutSubviews];
|
[super viewDidLayoutSubviews];
|
||||||
|
|
||||||
BOOL automaticInset = self.navigationController && self.scrollView.contentInsetAdjustmentBehavior == UIScrollViewContentInsetAdjustmentAutomatic;
|
BOOL automaticInset = self.scrollView.contentInsetAdjustmentBehavior == UIScrollViewContentInsetAdjustmentAutomatic;
|
||||||
|
|
||||||
// Takes into account the navigation bar.
|
// Takes into account the navigation bar.
|
||||||
if (!automaticInset && (self.edgesForExtendedLayout & UIRectEdgeTop)) {
|
if (!automaticInset && (self.edgesForExtendedLayout & UIRectEdgeTop)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user