clamp
Clamp
clamp
글쓰기 관리
전체 방문자
오늘
어제
  • 분류 전체보기 (509)
    • IOS (85)
    • SwiftUI+TCA+Combine (9)
    • RxSwift + MVVM (56)
    • Clean Architecture (12)
    • SWIFT (56)
    • iOS - TDD (2)
    • 디자인패턴 (4)
    • CS (56)
      • 알고리즘 (29)
      • 운영체제 (15)
      • 자료구조 (2)
      • 네트워킹 (4)
      • 기타 (6)
    • 회고 (0)
    • Firebase (18)
    • SwiftUI (10)
    • iOS - UIKit (11)
    • iOS - 오픈소스 (6)
    • 코딩테스트 (166)
      • 프로그래머스 (164)
    • 정보처리기사 (14)
    • GitHub (2)
글쓰기 / 관리자

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • Q
  • Swift
  • uikit
  • ㅅ

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
clamp

Clamp

IOS

IOS - Xcode 오류 Application tried to present modally a view controller on itself

2022. 8. 5. 14:25
Application tried to present modally a view controller on itself

뷰 컨트롤러를 인스턴스화하고 present하는 과정에서 바보같이 실수

guard let storyboard = self.storyboard?.instantiateViewController(withIdentifier: "stoyboard) as" storyboard else { return }
storyboard.modalPresentationStyle = .fullScreen
storyboard.present(storyboard, animated: true)

문제는 3번째 라인

storyboard.present(storyboard, animated: true) // 이라인을 아래처럼 수정
self.present(storyboard, anivated: ture) //이렇게

 

저작자표시 비영리 동일조건 (새창열림)
    'IOS' 카테고리의 다른 글
    • iOS - The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions(Rx 타입추론에러)
    • [iOS] UserDefault를 활용한 저장, struct형태 저장, 구조체 배열 저장, 로드
    • IOS - Xcode 오류 Could not insert new outlet connection: Could not find any information for the class named
    • IOS - Xcode 오류 this class is not key value coding-compliant for the key profileButton.
    clamp
    clamp
    주니어 iOS개발자의 발악!!!!!!!

    티스토리툴바