在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ipraba/EPSignature开源软件地址:https://github.com/ipraba/EPSignature开源编程语言:Swift 92.9%开源软件介绍:EPSignatureSignature component for iOS written in Swift PreviewInstallationCocoaPodsEPSignature is available through CocoaPods. To install it, simply add the following line to your Podfile: pod "EPSignature" CarthageTo integrate EPSignature into your Xcode project using Carthage, specify it in your Cartfile: github "ipraba/EPSignature" Manual InstallationJust drag and drop the files in Features
Initialization of EPSignatureViewControllerlet signatureVC = EPSignatureViewController(signatureDelegate: self, showsDate: true, showsSaveSignatureOption: true)
signatureVC.subtitleText = "I agree to the terms and conditions"
signatureVC.title = "John Doe"
let nav = UINavigationController(rootViewController: signatureVC)
presentViewController(nav, animated: true, completion: nil) Note: You can also embed the signature view in any one of the container using the EPSignatureView Properties of EPSignatureViewController
Properties of EPSignatureView
EPSignatureViewController Delegatesfunc epSignature(_: EPSignature.EPSignatureViewController, didCancel error: NSError)
func epSignature(_: EPSignature.EPSignatureViewController, didSign signatureImage: UIImage, boundingRect: CGRect) Note: boundingRect will contain the bounds of the signed image retrieved. Crop using this rect to make shorter and small signature images LicenseEPSignature is available under the MIT license. See the LICENSE file for more info. Author |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论