Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4157] SplitView option to show master view also in portrait

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-06-29T11:26:40.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-26, Release 1.7.2
ComponentsiOS
Labelsenterprise, featrue, ipad, rplist, splitview
ReporterPedro Enrique
AssigneeStephen Tramer
Created2011-05-20T10:56:00.000+0000
Updated2017-03-03T18:02:37.000+0000

Description

This is a feature request to add a property to the Split View for iPad that will allow the master view (left view) to always be visible, no matter the orientation of the device. In the source code, this is done by simply changing the "return" of this function to YES (MGSplitViewController.m)
~~~
- (BOOL)shouldShowMasterForInterfaceOrientation:(UIInterfaceOrientation)theOrientation
{
	// Returns YES if master view should be shown directly embedded in the splitview, instead of hidden in a popover.
      return ((UIInterfaceOrientationIsLandscape(theOrientation)) ? _showsMasterInLandscape : _showsMasterInPortrait);
}
~~~
A helpdesk ticket is asking for this: http://support.appcelerator.com/tickets/APP-233998/homepage

Comments

  1. Stephen Tramer 2011-06-28

    TESTING THIS FEATURE: ---- 1. Start KS-iPad 2. Click 'Split view features' IN PORTRAIT: Does not show master view IN LANDSCAPE: Shows master view 3. Click 'Display master (portrait)' while in portrait view IN PORTRAIT: Shows master view IN LANDSCAPE: Shows master view 4. Click 'Don't display master (portrait)' while in landscape view IN PORTRAIT: Does not show master view IN LANDSCAPE: Shows master view
  2. Stephen Tramer 2011-06-29

    Merge to 1.7.x, resolved conflicts, updated appropriate docs.
  3. Lee Morris 2017-03-03

    Closing ticket due to the time passed and support no longer being offered for what is being requested in the ticket.

JSON Source