3

Is it possible to programmatically open Safari and/or mobile Safari in Reader mode?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Christian Correa
  • 245
  • 3
  • 14

2 Answers2

3

The reader functionality appears to be derived, in part, from the Readability project. It might be worth reading up on a few of the resources out there which look at reader in more detail. Some good starting points, and links to other resources:

With regards manipulating Safari / reader, I'm not aware of any relevant API offered by Apple, and I'd be surprised if they offered specific code to put a site in reader mode. After all, the option to invoke this functionality should really be user-initiated if one is going by standard human interface guidelines.

Community
  • 1
  • 1
Ben
  • 7,548
  • 31
  • 45
-3

If you have a URL, then you can use the openURL method of UIApplication which will open the URL for you.

user883769
  • 18
  • 1
  • 4
  • That's not what he's asking. Christian wants to know if there's a way to manipulate Safari so that its "reader" mode (a method of seeing a web page stripped of all extraneous content and advertising) can be invoked **programmatically**. – Ben Aug 09 '11 at 07:06