소스 검색

line debug

marinofaggiana 6 년 전
부모
커밋
faaeea4169
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

+ 2 - 0
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -479,6 +479,8 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate {
                                     let bounds = textLine.bounds
                                     let text = textLine.value!
                                     
+                                    print(text)
+                                    
                                     let font = UIFont.systemFont(ofSize: bounds.size.height, weight: .regular)
                                     let bestFittingFont = UIFont.bestFittingFont(for: text, in: bounds, fontDescriptor: font.fontDescriptor, additionalAttributes: nil)
                                     let paragraphStyle:NSMutableParagraphStyle = NSMutableParagraphStyle.default.mutableCopy() as! NSMutableParagraphStyle