EPSignatureViewController opening in popup and not working in iOS 13
mmsergi opened this issue · 4 comments
mmsergi commented
In old versions of iOS EPSignature is working properly but in iOS 13.2 the view controller appears like a popup and you can't draw anything because the finger movement closes the view.
dqb101140127 commented
你可以修改modalPresentationStyle为fullScreen 就可以了
mmsergi commented
你可以修改modalPresentationStyle为fullScreen 就可以了
this solution doesnt work for me in iOS 13.23
kudeiro commented
Use this (fullscreen on navigation controller instead of signature view)
let nav = UINavigationController(rootViewController: signatureVC)
nav.modalPresentationStyle = .fullScreen
xarnthehero commented
If you want to stay on the .formSheet size, you can prevent the pan gesture recognizer inside EPSignatureView.
extension EPSignatureView {
override open func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
return !(gestureRecognizer is UIPanGestureRecognizer)
}
}