删除 splitViewController 中主视图的弹出窗口
我想在调用 applicationDidEnterBackground
时删除 splitViewController
的主视图弹出框。由于弹出窗口删除是自动完成的,我无法访问 popoverController
来使用 dismissPopoverAnimated:YES
知道如何关闭它吗?
I want to remove the master view popover of a splitViewController
when applicationDidEnterBackground
is called. Since the popover removal is done automatically I couldn't get to the popoverController
in order to use dismissPopoverAnimated:YES
Any idea how to dismiss it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我一直在寻找同样的东西并在这里找到了答案:
纵向中的 UISplitViewController:如何以编程方式隐藏主弹出窗口?
您询问的当天早上已得到答复...
I was looking for the same and found the answer here:
UISplitViewController in portrait: how to hide master popover programatically?
It was answered on the morning of the day you asked...