<!--
{
  "availability" : [
    "iOS: 9.0.0 - 11.0.0",
    "iPadOS: 9.0.0 - 11.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "SafariServices",
  "identifier" : "/documentation/SafariServices/SFSafariViewController/init(url:entersReaderIfAvailable:)-3aatz",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Safari Services"
    ],
    "preciseIdentifier" : "c:objc(cs)SFSafariViewController(im)initWithURL:entersReaderIfAvailable:"
  },
  "title" : "init(url:entersReaderIfAvailable:)"
}
-->

# init(url:entersReaderIfAvailable:)

Initializes a Safari view controller that will load the specified URL, entering Reader mode if Reader mode is requested and available.

```
init(url URL: URL, entersReaderIfAvailable: Bool)
```

## Parameters

`URL`

The URL to navigate to. The URL must use the `http` or `https` scheme.

`entersReaderIfAvailable`

On output, <doc://com.apple.documentation/documentation/Swift/true> if Reader mode should be entered automatically when it is available for the webpage; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Return Value

A newly created Safari view controller.

## Discussion

`entersReaderIfAvailable` applies only to the first page loaded.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)