|
@@ -69,7 +69,7 @@ let CPDFListStampFolderPath = ApplicationSupportDirectory.stringByAppendingPathC
|
|
|
|
|
|
self.stampCategoryType = .standard
|
|
|
self.stampType = standardStampType
|
|
|
- let fileNamePath = "\(stampType).png"
|
|
|
+ let fileNamePath = "CStandardStampType/"+"\(stampType.rawValue).png"
|
|
|
var stampPath = CPDFListStampFolderPath.stringByAppendingPathComponent("Standard")
|
|
|
if !FileManager.default.fileExists(atPath: stampPath) {
|
|
|
try? FileManager.default.createDirectory(atPath: stampPath, withIntermediateDirectories: true, attributes: nil)
|
|
@@ -299,7 +299,7 @@ let CPDFListStampFolderPath = ApplicationSupportDirectory.stringByAppendingPathC
|
|
|
document!.insertPage(CGSize(width: 842.0, height: 595.0), at: 0)
|
|
|
|
|
|
if self.stampCategoryType == CPDFStampType.standard {
|
|
|
- let fileNamePath = "\(self.stampType).png"
|
|
|
+ let fileNamePath = "CStandardStampType/"+"\(stampType.rawValue).png"
|
|
|
let stampPath = (CPDFListStampFolderPath.stringByAppendingPathComponent("Standard")).stringByAppendingPathComponent(fileNamePath)
|
|
|
|
|
|
if !FileManager.default.fileExists(atPath: stampPath) {
|