In this problem, this means that you can re-call the [NSXMLParser parse] function in everything that it has. Sometimes you can call [parser parse] in parserDidEndDocument:
But he will notify you that this is a repeated mistake!
So the solution is that you can [parser-parser] in another queue,
for example, you can do this by calling dispatch_async (dispatch_get_main_queue (), ^ {do in block});
or you need to set up call flow,
make sure you donβt call the parser function on the delegate.
source share