[TIMOB-4157] SplitView option to show master view also in portrait
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-06-29T11:26:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-26, Release 1.7.2 |
Components | iOS |
Labels | enterprise, featrue, ipad, rplist, splitview |
Reporter | Pedro Enrique |
Assignee | Stephen Tramer |
Created | 2011-05-20T10:56:00.000+0000 |
Updated | 2017-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
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
Merge to 1.7.x, resolved conflicts, updated appropriate docs.
Closing ticket due to the time passed and support no longer being offered for what is being requested in the ticket.