There's simply no excuse in my view to use any form of touchscreen device whilst driving.
Quite apart from being a dangerous distraction, it's indicative of poor planning (set the thing up properly before you leave), poor time keeping (not leaving enough contingency to pull over into a layby) or just plain arrogance (the rules don't apply to me).