Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1060] tab groups and split views don't work together

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:42:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:42:53.000+0000
Updated2017-03-02T19:14:59.000+0000

Description

http://helpdesk.appcelerator.net/tickets/2706">http://helpdesk.appcelerator.net/tickets/2706

we need to figure out how this should work from an API perspective (i.e., which one should be the parent container)

Comments

  1. Blain Hamon 2011-04-15

    Split views are very picky, and will throw an exception if not the root view. It might be possible to set up tabs within a split view, but this will take R&D outside of Titanium to get split views to play well with others.

  2. Stephen Tramer 2011-04-15

    It's worth mentioning that the sample provided in the helpdesk ticket is not actually a split view. Screenshots of what we presume the app to be reveal that it's a rather clever mockup of split: http://itunes.apple.com/us/app/craigsphone-craigslist-for/id364793788?mt=8"> http://itunes.apple.com/us/app/craigsphone-craigslist-for/id3647937...

    From the documentation:

    The split view controller’s view should always be installed as the root view of your application window. You should never present a split view inside of a navigation or tab bar interface.

    This is pretty clear. Blain is correct about split view controllers throwing a hissyfit if they're not the root; our own code confirms this. Now, we may be able to present tab controllers inside of a split view, but that comes with its own can of worms (including that the tab group controller we have relies on the root view controller being our own, and not the split view root controller).

  3. Stephen Tramer 2011-04-15

    Marking invalid. If the user really wants tab controllers inside a split view they can open a new bug and we'll evaluate that then.

  4. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source