Class

SFSafariViewController.Configuration

A configuration object that defines how a Safari view controller should be initialized.

Declaration

class Configuration : NSObject

Overview

Use a configuration object with the init(url:configuration:) method to initialize your view controller.

Topics

Configuring a Safari View Controller

var entersReaderIfAvailable: Bool

A value that specifies whether Safari should enter Reader mode, if it is available.

Relationships

Inherits From

See Also

Creating a View Controller

init(url: URL, configuration: SFSafariViewController.Configuration)

Initializes and configures a Safari view controller that loads the specified URL.

init(url: URL)

Initializes a Safari view controller that loads the specified URL.

init(url: URL, entersReaderIfAvailable: Bool)

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

Deprecated