New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
whose view is not in the window hierarchy! #1
Comments
It only works when I use it with a button... I want it to appear when the view appears. |
I had the same problem but i used permissionAssistant.present(on: self) in viewDidLoad when i presented a view modally. I moved it to viewDidAppear and it worked for me. |
@stealdre, thanks for your feedback! Tell us more about the issue. The controller present with a mistake or just a mistake? How does this affect application performance? Any information that would help me to reproduce this problem |
I don't know... I only did what I said:
This issue also occur in |
@stealdre you call super?
|
what's the super for? |
I tried to call it but still not working... |
@stealdre please, show full class your ViewController |
@davnag I tried to show this mistake, but did not see it. Your code works well for me |
Arf... |
I also have all these errors: http://pastebin.com/ZvP5ep48 |
@stealdre It is normal. In sparrow use BezierPath for small size image |
@stealdre The error you see using the simulator or device? The controller is presented or not? |
"In sparrow use BezierPath for small size image" Can you explain this? |
@davnag in sparrow used BezierPath for drawRect. It used without context, and show warnings. It is not mistake. All right |
OK so that's not the cause of my issue? |
I found something: I need to user a timer before to perform my function a bit later like this:
This is working. Maybe the loading of the view is too long and my function is performed before the view did appear... |
@davnag if you use delay - all right? I do not understand what is the problem. I have everything working without delay... |
I don't know ahah this is strange! :p |
I get this error: "Sparrow.SPRequestPermissionDialogInteractiveViewController: ... whose view is not in the window hierarchy!".
I setup the RequestPermission like this:
Thanks.
The text was updated successfully, but these errors were encountered: