Class WKWebpagePreferences

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class WKWebpagePreferences
extends NSObject
Since:
Available in iOS 13.0 and later.
  • Constructor Details

    • WKWebpagePreferences

      public WKWebpagePreferences()
    • WKWebpagePreferences

      protected WKWebpagePreferences​(NSObject.Handle h, long handle)
    • WKWebpagePreferences

      protected WKWebpagePreferences​(NSObject.SkipInit skipInit)
  • Method Details

    • getPreferredContentMode

      public WKContentMode getPreferredContentMode()
      Since:
      Available in iOS 13.0 and later.
    • setPreferredContentMode

      public void setPreferredContentMode​(WKContentMode v)
      Since:
      Available in iOS 13.0 and later.
    • allowsContentJavaScript

      public boolean allowsContentJavaScript()
      Since:
      Available in iOS 14.0 and later.
    • setAllowsContentJavaScript

      public void setAllowsContentJavaScript​(boolean v)
      Since:
      Available in iOS 14.0 and later.