Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- dfs
- Swift
- infoplist
- 콜드픽스
- decidepolicyfor
- httpcookie
- 2024
- swiftdata
- 빗버켓
- wwdc24\
- scenedelegate
- atlasian
- 스위프트
- 쿠키
- om-4ti
- 데이터구조
- BFS
- 24
- 연결
- 데이터장소
- navigationaction
- 애러처리
- WWDC
- xcode
- persistence
- JSON
- IOS
- 알고리즘
- 빝버켓
- 옆집
Archives
- Today
- Total
목록decidepolicyfor (1)
내가 iOS 개-발자라니.
옆집 스위프트: 웹뷰 에러코드 처리
우리 회사 앱은 타사와 마찬가지로 웹앱이 베이스이다. 웹이 오류(Error 404 등)를 나타내면 속수무책으로 당하기만 해서는 안된다. 그래서 쓰는 에러 처리 코드이다.쿠키 로드에 실패했을때 사용하는 에러처리 코드입다. 웹뷰 에러 처리 코드: func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler: @escaping (WKNavigationResponsePolicy) -> Void) { if let response = navigationResponse.response as? HTTPURLResponse { ..
This is da(大) SWIFT
2024. 7. 2. 09:02