[TIMOB-27273] iOS 13: Support new type of status bar style UIStatusBarStyleDarkContent
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2019-08-30T15:20:25.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 8.2.0 |
| Components | n/a |
| Labels | ios |
| Reporter | Vijay Singh |
| Assignee | Vijay Singh |
| Created | 2019-07-23T18:08:07.000+0000 |
| Updated | 2021-01-04T11:17:09.000+0000 |
Description
In iOS 13 new status bar style, UIStatusBarStyleDarkContent, is given. It need to be supported in Window.
PR - https://github.com/appcelerator/titanium_mobile/pull/11085 Test Case -
var win = Ti.UI.createWindow({ backgroundColor: 'white', statusBarStyle: Ti.UI.iOS.StatusBar.DARK_CONTENT }); var btn = Ti.UI.createButton({ title: 'Trigger' }); btn.addEventListener('click', function() { Ti.API.info('Hello world!'); Ti.API.info(Ti.UI.iOS.StatusBar.DARK_CONTENT); }); win.add(btn); win.open();FR Passed. The constant Ti.UI.iOS.StatusBar.DARK_CONTENT as well as value for statusBarStyle property set in the window return value 3 (for DARK_CONTENT mode).
*Closing ticket*, improvement verified in SDK version
8.2.0.v20190829124255. Note* Improvement will be merged into 8_3_X at a later date. Test and other information can be found at: PR - https://github.com/appcelerator/titanium_mobile/pull/11085