[TIMOB-495] setting active tab does not work on app startup
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2011-04-17T01:53:17.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | Release 1.3.0 | 
| Components | iOS | 
| Labels | ios, iphone, tabgroup | 
| Reporter | Nolan Wright | 
| Assignee | Jeff Haynie | 
| Created | 2011-04-15T02:30:18.000+0000 | 
| Updated | 2011-04-17T01:53:17.000+0000 | 
Description
You should be able to do both:
1) in the tab constructor set active:true - and this will be the active tab on startup. If a tab defined after this tab also has active:true, then it will be the active tab
2) tabGroup.setActiveTab(x) should also work before tabGroup.open is called
(from [d2e8549e28ea9df27f9c4c95f84e525bb4335d9f]) Closes #495 http://github.com/appcelerator/titanium_mobile/commit/d2e8549e28ea9df27f9c4c95f84e525bb4335d9f"> http://github.com/appcelerator/titanium_mobile/commit/d2e8549e28ea9...
(from [eaa0ea3b31a2405029c9945f596b8d3f34cc23c9]) Closes #495 http://github.com/appcelerator/titanium_mobile/commit/eaa0ea3b31a2405029c9945f596b8d3f34cc23c9"> http://github.com/appcelerator/titanium_mobile/commit/eaa0ea3b31a24...