Unfortunately, with at least up to iOS 6, I don't believe there is a way to do this. We don't have control over the signal that is being attempted to retrieve, nor do we have control over turning on and off airplane mode from an app.