Closed aaronschachter closed 8 years ago
Looks like a UIDocumentInteractionController will do the trick.
Running build on device and opening Birthday Mail stencils and noticed this warning, which doesn't seem to break anything. Seems like known iOS 9.3 bug:
objc[638]: UIPDFPageRenderOperation object 0x1262d7d60 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug objc[638]: UIPDFPageRenderOperation object 0x126630d90 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug objc[638]: UIPDFPageRenderOperation object 0x1262d65c0 overreleased while already deallocating; break on objc_overrelease_during_dealloc_error to debug
Refs https://github.com/DoSomething/LetsDoThis-iOS/issues/1014#issuecomment-219719583
Rendering a PDF in the webview doesn't allow us to save to device or send to a printer. Minimalist approach could be to open PDF's in browser if it allows for saving / sharing out of box (vs adding our own functionality into our
LDTWebViewController