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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃洜 Bug: terminating application #88
Comments
@muhasturk Hi, by Do you explicitly show whistle, like |
The Window needs to be created basically because the API for the Status Bar is as bad as it gets. So it's another window on top of the current UIWindow that you are displaying. That basically means that if you add a view to the UIWindow of the Status Bar, such view will appear in the bottom of the status bar, which is not optimal. With that being said. I don't quite understand the reason of the crash... |
Right. I think I might know the answer. Are you sure this is caused by Whistle? If yes, can you set it after you make your window key and visible, or even, after you have set your first root controller and has appeared? I believe the problem is that it's creating two windows at the same time, which is not something optimal I guess. Going to close this, but feel free to reopen if you have any more information! :) |
I face similar scenario using an Splash View on my appDelegate while bootstrapping the app. My appdelegate
Then somewhere else I show a whistle
The message is displayed just fine... but after the timeout expires I get... the splashController view! Somehow the
This is my first iOS project so I might be missing something obvious, really appreciate any hints. thanks |
Going to reply my own question #138 |
You create new UIWindow in WhistleFactory() on 20nd line.
It cause the application crash on didFinishLaunchingWithOptions methods because of followings in my opinion.
http://stackoverflow.com/a/33958144/3022613
Can you provide any solution for this? Why do you need to create new UIWindow?
BTW: Without Whisper pod everything works well, same AppDelegate.swift file.
If you want to investigate problem I can share my project folder.
The text was updated successfully, but these errors were encountered: