title: how to get a pointer to a viewcontroller object inside appdelegate
body: <p>I'm trying to tell a CLLocationManager object that is a property of a viewcontroller to stop updating location when the appDelegate recieves the message that the app will enter background and my problem is that I'm not sure how to refer to the viewController object inside my appDelegate class.</p>