본문 바로가기

Weekoding

검색하기
Weekoding
프로필사진 Still Coding In After Hours...   iOS / Swift

  • 분류 전체보기 (32)
    • 공부 노트(Swift) (28)
    • 개발 노트 (0)
    • 그 외 (1)
Guestbook
Recent Posts
Tags
  • NSAttributedString
  • UIView
  • CornerRadius
  • lifecycle
  • SnapKit
  • Debugging
  • Swift
  • CGColor
  • CAGradientLayer
  • Lazy
  • Console
  • Label
  • SignInWithApple
  • 프로퍼티옵저버
  • Assets
  • oauth
  • SNS로그인
  • TextView
  • AppleLogin
  • 모바일개발
  • ios
  • property observer
  • Enterprise
  • cgrect
  • SceneDelegate
  • xcode
  • property
  • Inheritance
  • Structure
  • CALayer
more
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록HTTP (1)

Weekoding

[Swift] HTTP 접근 허용하기(App Transport Security)

App Transport Security(ATS) : 기존의 HTTP에서 보안이 향상된 버전인 HTTPS의 등장으로, 현재 대부분의 웹들이 HTTPS를 사용하고 있다. 장단점이 존재하는 것이 아니라 상대적으로 보안이 취약하기 떄문에, iOS 9 이후로는 App Transport Security(ATS)를 이용하여 HTTP를 통한 접속을 기본적으로 차단하고 있다. 따라서, 이에 대한 설정을 하지 않은 채 http로 request를 시도하면 다음과 같은 에러를 발견하게 된다. Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the u..

공부 노트(Swift) 2022. 7. 26. 19:00
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바