Add URL scheme to open Safari in Reader View

Originator:ben
Number:rdar://23684808 Date Originated:2015-11-30
Status:Open Resolved:
Product:iOS Product Version:9.0
Classification:Enhancement Reproducible:n/a
 
Summary:
With the Safari Web View Controller it is possible to open an instance of Safari within your application that loads a URL in Reader View (if available). I would like this ability in regular Safari so my application can redirect a user to a URL in Safari and default to Reader View.

One concern is that a URL scheme, whilst beneficial, may not be possible as you wouldn't be able to distinguish between HTTP and HTTPS. One way to fix this would be to a have a different scheme for each. For instance:

safari-reader://bendodson.com/weblog/2015/10/05/healthkit-radar-22977320/ (loads non-ssl version)
safari-reader-secure://bendodson.com/weblog/2015/10/05/healthkit-radar-22977320/ (loads ssl version)

Another possibility would be to use some form of query string:

http://bendodson.com/weblog/2015/10/05/healthkit-radar-22977320/?x-safari-reader=true

However, that would be more open to issues as it would be possible for websites to include this when they want to be opened automatically in reader view when navigating a website which may be undesirable.

Steps to Reproduce:
n/a

Expected Results:
n/a

Actual Results:
n/a

Version:
iOS 9

Configuration:
Any iOS device

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!