You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...where pdfPath is a local URL in the iOS Simulator's file system. Somehow I'm getting this error:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Has anyone gotten BNHtmlPdfKit to work with Swift and/or iOS 9?
The text was updated successfully, but these errors were encountered:
This works, thanks. I had read that it's a bad idea to disable ATS but I guess in the case where I'm making a local save, it's probably not a significant security issue.
I honestly have no why this error would occur, but I'm using this to create a PDF:
self.htmlPdfKit.saveHtmlAsPdf(data, toFile: pdfPath)
...where
pdfPath
is a local URL in the iOS Simulator's file system. Somehow I'm getting this error:Has anyone gotten BNHtmlPdfKit to work with Swift and/or iOS 9?
The text was updated successfully, but these errors were encountered: