[TIMOB-25302] iPhone X: Add new home-indicator related API's
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-05-15T23:59:03.000+0000 |
Affected Version/s | Release 6.2.0 |
Fix Version/s | Release 7.3.0 |
Components | iOS |
Labels | demo_app |
Reporter | Hans Knöchel |
Assignee | Vijay Singh |
Created | 2017-09-16T19:14:45.000+0000 |
Updated | 2018-07-20T08:36:13.000+0000 |
Description
There are some utility API's in the iOS 11 GM seed that we might want to add to the SDK:
-
prefersHomeIndicatorAutoHidden
- Returns a Boolean indicating whether the system displays a visual indicator for returning to the Home screen.
- Could be exposed as a Ti.UI.Window boolean-property "homeIndicatorAutoHidden"
- setNeedsUpdateOfHomeIndicatorAutoHidden
- Notifies UIKit that your view controller updated its preference regarding the visual indicator for returning to the Home screen.
- Could be exposed as a Ti.UI.Window event "homeindicatorupdate"
PR - https://github.com/appcelerator/titanium_mobile/pull/9804 Test Case 1 -
Test Case 2-
Test Case 3 -
Test Case 4 -