GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-19T10:54:37.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 2.1.3, Release 3.0.0, Sprint 2012-19 API, 2012 Sprint 19 |
Components | iOS |
Labels | api, module_tabgroup, qe-testadded, regression |
Reporter | Anirudh Nagesh |
Assignee | Vishal Duggal |
Created | 2012-09-06T10:38:30.000+0000 |
Updated | 2013-07-19T10:54:37.000+0000 |
Run the attached app.js
In the console, it can be observed that tabGroup.activeTab returns tab object initially.
Click the button on tab1.
Now, tabGroup.activeTab returns the index which is 0
Note: It works fine on Android ( returns tab object) and works fine on Ti SDK versions < 2.0.2GA. May be its a regression.
Pull pending https://github.com/appcelerator/titanium_mobile/pull/2929
2_1_X PR https://github.com/appcelerator/titanium_mobile/pull/3050
Tab object returned after setting active tab Verified on: Titanium Studio: 2.1.2.201208301612 Titanium SDK: 2.1.3.v20120925173111, 3.0.0.v20120918181333 Xcode: 4.5 Device: iPad2 (v5.1), iOS Simulator (v6.0)
Reopening to update labels
Tested with: SDK:3.1.2.v20130718094558 Appcelerator Studio: 3.1.2.201307121651 OS: OSX 10.7.5 Device:iPhone5(ios6), iOS simulator Xcode: 4.6