I have a small sqlitedb in my iOS device. When a user presses a button, I fetch the data from sqlite & show it to user.
This fetching part I want to do it in a background thread (to not …
I want to know how to call my function on the main thread.
How do I make sure my function is called on the main thread?
(this follows a previous question of mine).