public final class WKContentMode
extends java.lang.Object
A content mode represents the type of content to load, as well as additional layout and rendering adaptations that are applied as a result of loading the content [@constant] WKContentModeRecommended The recommended content mode for the current platform [@constant] WKContentModeMobile Represents content targeting mobile browsers [@constant] WKContentModeDesktop Represents content targeting desktop browsers
WKContentModeRecommended behaves like WKContentModeMobile on iPhone and iPad mini and WKContentModeDesktop on other iPad models as well as Mac.
| Modifier and Type | Field and Description |
|---|---|
static long |
Desktop |
static long |
Mobile |
static long |
Recommended |
public static final long Recommended
public static final long Mobile
public static final long Desktop