Slide 44
Slide 44 text
मਖ਼༰ 1
lazy var closeButton: UIButton = {
let button = UIButton(type: .custom)
button.setTitle("ด͡Δ", for: .normal)
button.addTarget(self, action: #selector(close(sender:)), for: .touchUpInside)
return button
}()
@objc private func close(sender: Any) {
dismiss(animated: true)
}
44