Parcourir la source

【订阅】数字签名 付费弹窗对比检查

lizhe il y a 1 an
Parent
commit
217d793f4c

+ 5 - 0
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift

@@ -2848,6 +2848,11 @@ extension KMMainViewController {
     }
     
     func showDigitalSignWindow(withFilePathURL fileURL: URL) {
+        if !IAPProductsManager.default().isAvailableAllFunction(){
+            KMPurchaseCompareWindowController.sharedInstance().showWindow(nil)
+            return
+        }
+        
         if hasShowDigitalSign() {
             self.exitDigitalSign()
         }