Our iPhone application syncs with a server with a lot of data with cross relationships. Connecting to our API is easy and seamless, but as soon as the request is received successfully the GUI and application locks up.
I assume these updates are performed on the same thread as the rest of the application, so is it possible to trigger a new thread to perform the database inserts and updates?
2 Answers
I don't think it's possible. Try using db transaction, it should speedup things a lot. You can also postpone db import until UI is rendered (and that way make illusion things are working fast).
Using JAVA Script, to run something on different thread. i found to use a different function call for your database query... but check the documentation also for this.
Your Answer
Think you can help? Login to answer this question!