Quad-Lock
Quad-Lock is the system I use to attach my iPhone to the bikes handlebar.
It consists of an iPhone case, wireless charger, anti-vibration dampener and the handlebar pro mounting adapter.
The wireless charging unit is connected to the bike's USB outlet, and both ends of the cable are fully waterproofed.
To prevent damage to the iPhone, the vibration dampener absorbs all vibrations to protect the iPhone from damage - the iPhone camera's mechanism is known to be susceptible to vibration damage.