Contents

WKWebpagePreferences.ContentMode

Constants that indicate how to render web view content.

Declaration

enum ContentMode

Overview

Browsers often render webpages differently based on device type. For example, Safari provides a desktop-class experience when displaying webpages on Mac and iPad, but it displays a mobile experience when displaying pages on iPhone. Use content modes to specify how you want your web view to render content within your app.

Topics

Getting the Content Modes

Initializers

See Also

Setting the preferred content mode