[TIMOB-24738] iOS: Close all Ti.UI.Tab windows at once
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-06-27T15:43:31.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.2.0 |
| Components | iOS |
| Labels | ios, qe-6.2.0, tabgroup |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2017-05-26T19:33:03.000+0000 |
| Updated | 2017-06-29T11:59:44.000+0000 |
Description
On iOS, the user can close all current windows that are opened in a tab window at once (instead of closing all manually). It is commonly used, so we should expose it as well.
Proposed API:
Ti.UI.Tab.popToRootWindow (similar to TIMOB-23567).
PR: https://github.com/appcelerator/titanium_mobile/pull/9094 Test-Case:
Verified,
Ti.UI.Tab.popToRootWindownow allows for closing all windows at once. Tested On: iPhone 7 10.3.2 Device & Simulator Mac OS Sierra (10.12.5) Ti SDK: 6.2.0.v20170628154113 Appc NPM: 4.2.9 App CLI: 6.2.2 Xcode 8.3.3 Node v4.6.0 *Closing ticket.*