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
- wwdc24\
- Swift
- dfs
- 콜드픽스
- xcode
- 알고리즘
- JSON
- scenedelegate
- 24
- BFS
- 연결
- 스위프트
- 빝버켓
- 옆집
- 데이터구조
- IOS
- swiftdata
- decidepolicyfor
- persistence
- navigationaction
- WWDC
- 데이터장소
- atlasian
- 쿠키
- 애러처리
- httpcookie
- 빗버켓
- 2024
- infoplist
- om-4ti
Archives
- Today
- Total
목록response (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