我正在创建一个弹出消息并在按钮的操作上显示此弹出窗口。现在我试图从弹出回调中关闭SplitViewController,显示弹出窗口。但就我而言,它失败了,那么正确的方法是如何做到这一点?
function showPopUp
{
var popup = vMobileController.solutionController().createPopUp();
popup.setMessage("Testmessage?");
popup.setTitle("test");
popup.addOption("yes",popupYES);
popup.addOption("no",popupNO);
popup.show();
}
function popupNO()
{
var vSolutionController = vMobileController.solutionController();
var vDatamanager = vMobileController.dataManager();
var vLogger = vMobileController.logger();
var currViewC = vSolutionController.rootViewController().firstSubViewControllerByName("overview_split");
currViewC.dismissModal();
}
function popupYES()
{
}