can be basically illegal anywhere you drive to hold on to your phone as well as drive, so your best bet is to get a great magnetic phone mount.
But certain mounts may be pretty tedious, and a great magnetic mount makes life a lot better when you're getting in and out of the car. Oliv are the top magnetic car mounts for the phone!
These are the top magnetic car mounts to your iPhone. They'll keep your phone out of your hands while you're operating (and hopefully prevent a ticket), and they'll let a person check directions and more on the go.