Class UIWebView

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UIScrollViewDelegate, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

@Deprecated
public class UIWebView
extends UIView
implements NSCoding, UIScrollViewDelegate
Deprecated.
Deprecated in iOS 12.0. No longer supported; please adopt WKWebView.
  • Constructor Details

    • UIWebView

      public UIWebView()
      Deprecated.
    • UIWebView

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

      protected UIWebView​(NSObject.SkipInit skipInit)
      Deprecated.
    • UIWebView

      public UIWebView​(CGRect frame)
      Deprecated.
    • UIWebView

      public UIWebView​(NSCoder coder)
      Deprecated.
  • Method Details

    • getDelegate

      public UIWebViewDelegate getDelegate()
      Deprecated.
    • setDelegate

      public void setDelegate​(UIWebViewDelegate v)
      Deprecated.
    • getScrollView

      public UIScrollView getScrollView()
      Deprecated.
    • getRequest

      public NSURLRequest getRequest()
      Deprecated.
    • canGoBack

      public boolean canGoBack()
      Deprecated.
    • canGoForward

      public boolean canGoForward()
      Deprecated.
    • isLoading

      public boolean isLoading()
      Deprecated.
    • isScalesPageToFit

      public boolean isScalesPageToFit()
      Deprecated.
    • setScalesPageToFit

      public void setScalesPageToFit​(boolean v)
      Deprecated.
    • getDataDetectorTypes

      public UIDataDetectorTypes getDataDetectorTypes()
      Deprecated.
    • setDataDetectorTypes

      public void setDataDetectorTypes​(UIDataDetectorTypes v)
      Deprecated.
    • allowsInlineMediaPlayback

      public boolean allowsInlineMediaPlayback()
      Deprecated.
    • setAllowsInlineMediaPlayback

      public void setAllowsInlineMediaPlayback​(boolean v)
      Deprecated.
    • isMediaPlaybackRequiresUserAction

      public boolean isMediaPlaybackRequiresUserAction()
      Deprecated.
    • setMediaPlaybackRequiresUserAction

      public void setMediaPlaybackRequiresUserAction​(boolean v)
      Deprecated.
    • isMediaPlaybackAllowsAirPlay

      public boolean isMediaPlaybackAllowsAirPlay()
      Deprecated.
    • setMediaPlaybackAllowsAirPlay

      public void setMediaPlaybackAllowsAirPlay​(boolean v)
      Deprecated.
    • suppressesIncrementalRendering

      public boolean suppressesIncrementalRendering()
      Deprecated.
    • setSuppressesIncrementalRendering

      public void setSuppressesIncrementalRendering​(boolean v)
      Deprecated.
    • isKeyboardDisplayRequiresUserAction

      public boolean isKeyboardDisplayRequiresUserAction()
      Deprecated.
    • setKeyboardDisplayRequiresUserAction

      public void setKeyboardDisplayRequiresUserAction​(boolean v)
      Deprecated.
    • getPaginationMode

      public UIWebPaginationMode getPaginationMode()
      Deprecated.
    • setPaginationMode

      public void setPaginationMode​(UIWebPaginationMode v)
      Deprecated.
    • getPaginationBreakingMode

      public UIWebPaginationBreakingMode getPaginationBreakingMode()
      Deprecated.
    • setPaginationBreakingMode

      public void setPaginationBreakingMode​(UIWebPaginationBreakingMode v)
      Deprecated.
    • getPageLength

      public double getPageLength()
      Deprecated.
    • setPageLength

      public void setPageLength​(double v)
      Deprecated.
    • getGapBetweenPages

      public double getGapBetweenPages()
      Deprecated.
    • setGapBetweenPages

      public void setGapBetweenPages​(double v)
      Deprecated.
    • getPageCount

      public long getPageCount()
      Deprecated.
    • allowsPictureInPictureMediaPlayback

      public boolean allowsPictureInPictureMediaPlayback()
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • setAllowsPictureInPictureMediaPlayback

      public void setAllowsPictureInPictureMediaPlayback​(boolean v)
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • allowsLinkPreview

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

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

      public static Class<? extends CALayer> getLayerClass()
      Deprecated.
    • loadRequest

      public void loadRequest​(NSURLRequest request)
      Deprecated.
    • loadHTML

      public void loadHTML​(String string, NSURL baseURL)
      Deprecated.
    • loadData

      public void loadData​(NSData data, String MIMEType, String textEncodingName, NSURL baseURL)
      Deprecated.
    • reload

      public void reload()
      Deprecated.
    • stopLoading

      public void stopLoading()
      Deprecated.
    • goBack

      public void goBack()
      Deprecated.
    • goForward

      public void goForward()
      Deprecated.
    • evaluateJavaScript

      public String evaluateJavaScript​(String script)
      Deprecated.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Deprecated.
      Since:
      Available in iOS 10.0 and later.
    • didScroll

      public void didScroll​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      didScroll in interface UIScrollViewDelegate
    • didZoom

      public void didZoom​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      didZoom in interface UIScrollViewDelegate
    • willBeginDragging

      public void willBeginDragging​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      willBeginDragging in interface UIScrollViewDelegate
    • willEndDragging

      public void willEndDragging​(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)
      Deprecated.
      Specified by:
      willEndDragging in interface UIScrollViewDelegate
    • didEndDragging

      public void didEndDragging​(UIScrollView scrollView, boolean decelerate)
      Deprecated.
      Specified by:
      didEndDragging in interface UIScrollViewDelegate
    • willBeginDecelerating

      public void willBeginDecelerating​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      willBeginDecelerating in interface UIScrollViewDelegate
    • didEndDecelerating

      public void didEndDecelerating​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      didEndDecelerating in interface UIScrollViewDelegate
    • didEndScrollingAnimation

      public void didEndScrollingAnimation​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      didEndScrollingAnimation in interface UIScrollViewDelegate
    • getViewForZooming

      public UIView getViewForZooming​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      getViewForZooming in interface UIScrollViewDelegate
    • willBeginZooming

      public void willBeginZooming​(UIScrollView scrollView, UIView view)
      Deprecated.
      Specified by:
      willBeginZooming in interface UIScrollViewDelegate
    • didEndZooming

      public void didEndZooming​(UIScrollView scrollView, UIView view, double scale)
      Deprecated.
      Specified by:
      didEndZooming in interface UIScrollViewDelegate
    • shouldScrollToTop

      public boolean shouldScrollToTop​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      shouldScrollToTop in interface UIScrollViewDelegate
    • didScrollToTop

      public void didScrollToTop​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      didScrollToTop in interface UIScrollViewDelegate
    • scrollViewDidChangeAdjustedContentInset

      public void scrollViewDidChangeAdjustedContentInset​(UIScrollView scrollView)
      Deprecated.
      Specified by:
      scrollViewDidChangeAdjustedContentInset in interface UIScrollViewDelegate
      Since:
      Available in iOS 11.0 and later.