Frequently Asked Question
How to configure ATS for PDF streaming in iOS?
Last Updated 14 days ago 63 views
Applies to: RadaeePDF Classic and Master SDK for iOS
To allow PDFHttpStream to connect to non-HTTPS URLs, you must disable App Transport Security (ATS) restrictions in your app's info.plist.
- Open your project's
info.plistfile in Xcode. - Add a new key named
App Transport Security Settings. - Add a child key named
Allow Arbitrary Loads. - Set the value of
Allow Arbitrary LoadstoYES.
Caveat: Disabling ATS globally is not recommended for production apps if you can use HTTPS. If possible, use HTTPS URLs for your PDFs to avoid modifying your ATS configuration.
Updates: this entry extends How to open pdf from url on iOS?.