Explorar o código

ConversionFlutter - 回调导出路径优化

chenyu %!s(int64=2) %!d(string=hai) anos
pai
achega
7233162465
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ios/Runner/ConvertUtil.swift

+ 1 - 1
ios/Runner/ConvertUtil.swift

@@ -188,7 +188,7 @@ class ConvertUtil : NSObject,CPDFConverterDelegate{
      
      @objc func converter(_ converter: CPDFConverter!, pageIndex index: UInt, pageCount count: UInt) {
          let progress = Double(index) / Double(count)
-         result?(Int(progress*100), converting, nil)
+         result?(Int(progress*100), converting, mPath)
      }
      
      @objc func converter(_ converter: CPDFConverter!, didEndConvert error: Error!) {