This override method is defined on Custome Class of UITextField.Minimum code is follow.import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
}
}
class ExTextField : UITextField {
open override func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
if let ges = gestureRecognizer as? UITapGestureRecognizer {
print ("true")
} else {
print ("false")
}
return true
}
}iOS13.4 iPhone Simulator and iOS13.4 iPad Pro(Gen2) is print("false").iOS13.3 iPhone Simulator and iOS13.3 iPad Pro(Gen2) is print("true").
Post
Replies
Boosts
Views
Activity
This issue is still occurring on iOS 14.0.1
But don't occurring on iOS14.0.
I running on iPhoneXs
func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]) {
		guard let provider = results.first?.itemProvider else { return }
		guard let typeIdentifer = provider.registeredTypeIdentifiers.first else { return }
		provider.loadItem(forTypeIdentifier: typeIdentifer, options: nil) { (urlObject, error) in {
				// error
		}
}
Please check again.