WKWebpagePreferences.ContentMode
Constants that indicate how to render web view content.
Declaration
enum ContentModeOverview
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
WKWebpagePreferences.ContentMode.recommendedWKWebpagePreferences.ContentMode.desktopWKWebpagePreferences.ContentMode.mobile