我是 iOS 编程 (Xamarin) 的新手。我想在单击网络视图中弹出窗口中的链接时显示视图。 (附图)
if(msg == "Settings")
{
UIStoryboard storyBoard = UIStoryboard.FromName("MobileSettings", null);
MobileSettingsViewController mobileView = storyBoard.InstantiateViewController("MobileSettingsViewController") as MobileSettingsViewController;
PresentViewController(mobileView, false, null);
}
当我完成此视图后,我会像该视图的控制器类中的以下代码一样删除此视图。
cancelButton.TouchUpInside += delegate (object sender, EventArgs e)
{
this.DismissViewController(false, null);
};
现在的问题是,弹出窗口仍然显示在网络视图中,我不知道如何隐藏它。
提前致谢。