Sometime we lose the SplittApp master button from the view, if we change the SplitAppMode.
Is there a way to check if the button is visible or not? And if we can check for it, a way to enable this button again?
if (app.getMode() === "ShowHideMode") {
app.setMode(sap.m.SplitAppMode.HideMode);
} else {
// to get it really to work, we have to set the ShowHideMode at first
app.setMode(sap.m.SplitAppMode.ShowHideMode);
app.setMode(sap.m.SplitAppMode.HideMode);
}