| | |
| | | let commonAlertView = CommonAlertView.jq_loadNibView() |
| | | sceneDelegate?.window?.addSubview(commonAlertView) |
| | | commonAlertView.label_content.text = content |
| | | commonAlertView.label_content.numberOfLines = 0 |
| | | commonAlertView.label_content.textAlignment = .center |
| | | commonAlertView.clouse = clouse |
| | | commonAlertView.frame = sceneDelegate?.window?.frame ?? .zero |
| | | |
| | | if isSinple{ |
| | | commonAlertView.btn_complete.isHidden = true |
| | | commonAlertView.cons_btnClose.constant = 219 * Config.RatioW |
| | | commonAlertView.cons_btnClose.constant = 219 |
| | | commonAlertView.btn_close.backgroundColor = Config.ThemeColor |
| | | commonAlertView.btn_close.jq_borderWidth = 0 |
| | | commonAlertView.btn_close.setTitleColor(.white, for: .normal) |