Open mmsergi opened 4 years ago
你可以修改modalPresentationStyle为fullScreen 就可以了
你可以修改modalPresentationStyle为fullScreen 就可以了
this solution doesnt work for me in iOS 13.23
Use this (fullscreen on navigation controller instead of signature view) let nav = UINavigationController(rootViewController: signatureVC) nav.modalPresentationStyle = .fullScreen
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)
}
}
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.