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