[TIMOB-2300] HIde Master Popover on iPad
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M02 |
Components | iOS |
Labels | feature, ios, ipad, release-1.6.0, request |
Reporter | Ralf Pfeiffer |
Assignee | Blain Hamon |
Created | 2011-04-15T03:16:06.000+0000 |
Updated | 2011-04-17T01:58:41.000+0000 |
Description
We need to be able to close the Master Popover via code.
(from [40efbb31da00ea01b86e3022157934c16fb5faa5]) [#2300 state:fixed-in-qa] SplitWindow now has a 'masterPopupVisible' property that can be set true to show the master view in a popover, false to hide the popover. When the master view is visible in the split view (eg, in landscape), this property stays 'false'. https://github.com/appcelerator/titanium_mobile/commit/40efbb31da00ea01b86e3022157934c16fb5faa5"> https://github.com/appcelerator/titanium_mobile/commit/40efbb31da00...
4.2 sim, 3.2 ipad wifi [INFO] Titanium SDK version: 1.6.0 (01/12/11 14:54 ff401e1)
It only works for me if I set it to true again, so I can call with false to hide again.
Eg:
Everytime I call:
xCtr.splitView.setMasterPopupVisible(false);
I need to call right after:
xCtr.splitView.setMasterPopupVisible(true);
If I don't reset to it true, It never works again.
Why not just implement it this way:
xCtr.splitView.showMasterPopup();
xCtr.splitView.hideMasterPopup();
Thanks.
The new function setMasterPopupVisible works only once. See #3315