The Iowa House has approved a measure which would ban drivers from writing and sending text messages while driving.