<instance mehtod> webView(_:didFail:withError:)

dlsl7380·2022년 2월 8일
0

Instance method

목록 보기
17/19

webView(_:didFail:withError:)

Tells the delegate that an error occurred during navigation.
네비게이션 동작중에 에러가 발생했을 경우를 알린다.

Declaration

optional func webView(_ webView: WKWebView, 
              didFail navigation: WKNavigation!, 
            withError error: Error)

Parameters

webView
The web view that reported the error.
에러를 보고한 웹뷰

navigation
The navigation object for the operation.
작업에 대한 탐색 객체
This object corresponds to a WKNavigation object that WebKit returned when the load operation began.
이 객체는 로드 작업이 시작될 때 WebKit이 반환한 WKNavigation 객체체에 해당합니다.
You use it to track the progress of that operation.
이를 사용하여 해당 작업의 진행 상황을 추적합니다.
error
The error that occurred.

0개의 댓글