我正在使用“PopupDialog”来显示弹出窗口。我的问题是如何在单击弹出窗口中的提交自定义按钮时关闭弹出窗口。
Popup 在 ViewController 中。 Popupview Controller 名称是 PopUPController。
所以我想关闭 PopUPController 的弹出窗口。
最佳答案
使用 dismiss 方法关闭 PopupDialog
self.dismiss(animated: true, completion: {})
关于ios - 如何使用 popupdialogue 从弹出 Controller 中关闭弹出窗口?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44773250/