Ability to load custom content in iOS Safari View Controller
| Originator: | dloewenherz | ||
| Number: | rdar://22965699 | Date Originated: | 04-Oct-2015 08:21 AM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.1 (13B51130b) |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Safari View Controller is unable to load custom content, such as CSS or JS, into loaded pages, even when they’re loaded from local HTML files. An app I support (Pushpin for Pinboard) relies on this functionality to nicely display downloaded bookmarks offline (i.e., so we can inject that page’s downloaded CSS, fonts, and/or JS to display everything as it would appear while connected to the Internet). However, since SVC does not support this, we have to continue using a custom UIWebView to display offline bookmarks. Steps to Reproduce: 1. Open a webpage using SVC. 2. Have a desire to load custom content. Expected Results: Developers should be able to use a public API to load custom content. Actual Results: No API is available.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!