Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5328] IOS 11 Status bar contentInsetAdjustmentBehavior, affecting positioning of scrollViews with top=0

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionNeeds more info
Resolution Date2017-10-31T22:54:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
Reportereric harms
AssigneeShak Hossain
Created2017-10-30T20:39:08.000+0000
Updated2017-11-01T06:47:59.000+0000

Description

Hello, In IOS 11, it seems the status bar is not on top of the app elements anymore, but is affecting the positioning of a scrollView in my app. When my menu is closed/open I show/hide the status bar, and when the status bar is hidden, my menu's ScrollView which has a top=0 seems to go into negative top space by 20px. Im reading this may have something to do with the ScrollView property contentInsetAdjustmentBehavior. This SO provides and answer to set the property to .never https://stackoverflow.com/questions/44777872/status-bar-entire-view-down-ios-11 Is theres something available in 6.2.2.GA that provides a similar solution? Im currently not seeing this behavior in any of my devices < IOS11. Please see attached for .jpg samples when showing or hiding the status bar. Thanks

Attachments

FileDateSize
withoutStatusBar.jpg2017-10-30T20:35:31.000+000027484
withStatusBar.jpg2017-10-30T20:35:31.000+000038436

Comments

  1. Hans Knöchel 2017-10-31

    Please try 6.3.0, it should fix it. Besides that, there is no test-case provided, so resolving as Needs more Info.
  2. eric harms 2017-10-31

    Thanks Hans -- was reluctant to try 6.3.0 -- is it stable for production?
  3. Hans Knöchel 2017-11-01

    Yes, release today.

JSON Source