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 |
Tags
- 보라카이
- 신도림
- 앱스토어
- UIView
- 아이폰7
- setting
- 얻는법
- afterdelay
- 신도림 테크노마트
- GCD
- 포켓볼
- loop
- 포켓몬 GO
- swift
- 샘플
- 해몽
- Example
- LG유플러스
- 공략
- swift3
- 페이백
- UITableView
- IOS
- push
- error
- simulator
- Check
- Xcode
- 스마트폰
- Bitcode
Archives
- Today
- Total
도래울
whose view is not in the window hierarchy 오류 대처 방법 본문
whose view is not in the window hierarchy
오류가 난다.
EkEventEditViewController 가 ViewController 위에 생성이 되었다고 하면서 나는 오류이다.
혹시나 해서 ViewController 를 NavigationViewController 로 변경해도 마찬가지이다.
UIViewController *topController = [UIApplication sharedApplication].keyWindow.rootViewController;
while (topController.presentedViewController) {
topController = topController.presentedViewController;
}
[topController presentViewController:addEventVC animated:YES completion:nil];
위의 구문을 넣어주면 된다.
'개발 > iOS' 카테고리의 다른 글
Swift 훑어보기 (0) | 2016.02.29 |
---|---|
Swift 프로젝트에서 Objective-C 코드를 함께 사용하기 (0) | 2016.02.23 |
코드를 보기좋게 재정렬 해주는 Xcode 플러그인 - XAlign (2) | 2016.02.17 |
[Xcode]Xcode 플러그인 VVDocumenter-Xcode 소개 (2) | 2016.02.17 |
애플 리젝 사유 (1) | 2016.02.05 |
Comments