Here is a screenshot of a UIAlertController
. I was just playing around custom fonts and textfield
properties but I was unable to accomplish the fol
To address the situation as discussed in @Rory McKinnel and @Matthew where the superview are NULL and address modifying presented view:
extension UIAlertController {
override open func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.textFields?.forEach {
$0.superview?.backgroundColor = .color
$0.superview?.superview?.subviews[0].removeFromSuperview()
}
}
}