8 | Probably, like me, you have a wrong root I want to display a So I can't use such code:
So, I get a UIViewController:
For some reason (logical bug), the | ||||
|
5 | Another potential cause: I had this issue when I was accidentally presenting the same view controller twice. (Once with Effectively, two segues were firing at the same time, and I got the error: | ||||||||
|
1 | I had the same problem. I had to embed a navigation controller and present the controller through it. Below is the sample code.
|
[self.navigationController presentViewController:cameraView animated:NO completion:nil];
// [self presentViewController:cameraView animated:NO completion:nil]; //this will cause view is not in the window hierarchy error
'모바일개발(Mobile Dev) > IOS개발(ObjectC)' 카테고리의 다른 글
Auto Layout Tutorial (0) | 2015.12.22 |
---|---|
For foreigner about taxinfo in itunesconnect (0) | 2015.12.22 |
Using Unwind Segues (0) | 2015.12.19 |
Introduction to Auto Layout (0) | 2015.12.16 |
아이폰6, 아이폰6+의 해상도 (0) | 2015.12.16 |