Hi,
I'm using lot of networking in my app. When a networking thread is finished I need to update the UI. Sometimes this works, sometimes it fails and I assume that is because I'm updating the UI from the networking thread.
On Android in can update my UI from networking via runOnUiThread(Runnable) and then never get any crashes.
But I don't know what's the equivalent for this in iOS. Does someone know how I can run code on the ui thread?
Thanks!