I am creating an iphone application which i need to stop a running thread if the application went to background mode,is it possible to stop thread in iphone application? as because my thread displays location notification alert messages continuously if application enter to foreground .I am creating an iphone application which i nee