I have a tab bar app. During the applicationDidFinishLaunching method I have the app check for some files and then display an alertview if the files exist.
I have all the code working except that the alertview will not appear after the tabBarcontroller is showing.
The sequence of events is
- splashscreen shows
- window dims (this tells me the alert is attempting to show)
- the app pauses (it’s waiting for me to press a button a I have a CFRunloop running.
Any help would be appreciated.
Thanks
Ok,
thanks for the hints but I figured it out.
It needed a performSelectorOnMainThread wait(NO)
on the main calling function inside applicationDidFinishLaunching:
to get it to work.