title: Can an app know when user is driving from iOS 11 Do Not Disturb While Driving feature?
body: <p>In iOS 11 Apple blocks push notifications by giving a notification that you are driving and notifications are blocked.I am curious can we extract that information from iOS and use it in my app?</p>
  
  <p><strong>EDIT:</strong> I have already a mechanism with me to detect driving mode but I want to know whether we can access that data or not and want to know what else is there in that data(if that is available).So please dont post links leading to Driving mode detection algos.</p>