我在 swift 项目中使用 this and this 函数。但是,我想以编程方式关闭警报。我该怎么做?
您可以使用此方法关闭 SweetAlert
用法:
sweetAlert.closeAlert(0)