title: iOS : How to handle System Alerts Programmatically inside the App?
body: <p>I am working in a Automation project.
  While using Location Service,It is showing an alert. Here alert message is do you want to use Location Service with OK and Cancel button.
  Now I don't want to click cancel or Ok button manually.I just want to get system  alert programmatically and and handle the button click.I am using iOS 8 device.Is it possible?</p>