Could someone please explain what this error means?
CONNECTION INTERRUPTED
I’m writing files to storage from a method I’m calling from a block. I also sometimes get this message before the “CONNECTION INTERRUPTED”:
__47+[TIUserDictionaryController loadWordKeyPairs:]_block_invoke_0 Received nil NSData for TIRemoteDataUserDict
I call this method (the one that writes) at my app did finish launching method and it works, but for some reason it won’t work when called within the block. I’ve tried not using the block and instead a delegate but I still get this error/crash. This error has been completely inconsistent.
I’ve never seen any error like this before, so I don’t know what more information to give. If you have questions please let me know.
I am not sure if this would work.
But appDidFinsihLaunching should return as early as possible. Since if the method does not return in a specified timeframe, the watchdog would terminate the application.
So I would suggest to call this method using performSelector:withObject:afterDelay: method with a delay of about 1 sec or whatever suits you.
Let me know if that solves your problem.