Class WKWebView

    • Method Detail

      • setUIDelegate

        public void setUIDelegate​(WKUIDelegate v)
      • getTitle

        public java.lang.String getTitle()
      • getURL

        public NSURL getURL()
      • isLoading

        public boolean isLoading()
      • getEstimatedProgress

        public double getEstimatedProgress()
      • hasOnlySecureContent

        public boolean hasOnlySecureContent()
      • getServerTrust

        public SecTrust getServerTrust()
        Since:
        Available in iOS 10.0 and later.
      • canGoBack

        public boolean canGoBack()
      • canGoForward

        public boolean canGoForward()
      • allowsBackForwardNavigationGestures

        public boolean allowsBackForwardNavigationGestures()
      • setAllowsBackForwardNavigationGestures

        public void setAllowsBackForwardNavigationGestures​(boolean v)
      • getCustomUserAgent

        public java.lang.String getCustomUserAgent()
        Since:
        Available in iOS 9.0 and later.
      • setCustomUserAgent

        public void setCustomUserAgent​(java.lang.String v)
        Since:
        Available in iOS 9.0 and later.
      • allowsLinkPreview

        public boolean allowsLinkPreview()
        Since:
        Available in iOS 9.0 and later.
      • setAllowsLinkPreview

        public void setAllowsLinkPreview​(boolean v)
        Since:
        Available in iOS 9.0 and later.
      • getCertificateChain

        @Deprecated
        public java.util.List<SecCertificate> getCertificateChain()
        Deprecated.
        Deprecated in iOS 10.0.
        Since:
        Available in iOS 9.0 and later.
      • loadFileURL

        public WKNavigation loadFileURL​(NSURL URL,
                                        NSURL readAccessURL)
        Since:
        Available in iOS 9.0 and later.
      • loadHTMLString

        public WKNavigation loadHTMLString​(java.lang.String string,
                                           NSURL baseURL)
      • loadData

        public WKNavigation loadData​(NSData data,
                                     java.lang.String MIMEType,
                                     java.lang.String characterEncodingName,
                                     NSURL baseURL)
        Since:
        Available in iOS 9.0 and later.
      • stopLoading

        public void stopLoading()
      • evaluateJavaScript

        public void evaluateJavaScript​(java.lang.String javaScriptString,
                                       org.robovm.objc.block.VoidBlock2<NSObject,​NSError> completionHandler)
      • takeSnapshot

        public void takeSnapshot​(WKSnapshotConfiguration snapshotConfiguration,
                                 org.robovm.objc.block.VoidBlock2<UIImage,​NSError> completionHandler)
        Since:
        Available in iOS 11.0 and later.
      • handlesURLScheme

        public static boolean handlesURLScheme​(java.lang.String urlScheme)
        Since:
        Available in iOS 11.0 and later.