Titanium Appcelerator Quickie: Titanium.UI.currentTab undefined - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

How this code works…

By listening for focus events from the tabGroup, we can get which tab received the focus event. We then store the tab object in “_activeTab” and we store the tab index in _activeTabIndex.

A work around until the current tab bug is fixed in the latest titanium release.