I am using a thread to update messages in background in my application. The thread is started in my messages class.
Messages.m
ti
[NSThread exit];
Have you checked this method of NSThread class.