|
@@ -179,6 +179,12 @@ class KMPrintWindowController: KMBaseWindowController, NetServiceBrowserDelegate
|
|
|
}
|
|
|
|
|
|
static func showNewPrintWindowControll(inputDocument: CPDFDocument?, inputType: DataNavigationViewButtonActionType = .Print, inputPageRange: KMPrintPageRange, printType: KMPrintModelType = .size) {
|
|
|
+ //订阅
|
|
|
+ if !IAPProductsManager.default().isAvailableAllFunction(){
|
|
|
+ KMPurchaseCompareWindowController.sharedInstance().showWindow(nil)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
let printWindowController: KMPrintWindowController = KMPrintWindowController.init(windowNibName: "KMPrintWindowController")
|
|
|
|
|
|
printWindowController.printType = printType
|