ios - Is there a required context for presentViewController? -


There is a welcome screen in my iOS app (not to be confused with the default view) using the visual controller NSXMLParser Downloads and parses an XML file When it completes its work, a button appears on which the call is clicked on "Current ViewController" which takes the user into the real app. It worked fine

Then I decided that I would like to automatically approve the transition, and so I removed the button altogether and call the ViewController currently in the "ParserDidEndDocument" delegate method Gone to The method is called but nothing happens. I suspect that there is something to do with reference, but when I log in on "self", it prints an example of the welcome view controller. What am I doing wrong? How should I fix this?

Try to send it to the main thread: ASCNC objects such as NSXPerser work on different threads, but the UIIC Updates should be made on the main thread.

  sender_assink (dispatch_gate_man_clue ()), ^ {[present-present Wikicibrator]; // or whatever);    

Comments