Any complex number is fully described by its magnitude and phase (argument) via the complex exponential.
$$ X = |X|e^{i\arg{X}}$$
It is useful to write complex numbers in this form when multiplying and dividing as we can make use of exponent rules. Division in this instance simplifies to dividing the magnitudes and subtracting the phases.
Before we compute this division, lets calculate the magnitude and phase of $1$ and $i$. It is quite obvious that the magnitudes of both numbers are $1$ (i.e. $|1|=|i|=1$). And by definition the phases are:
$$\arg{1} = 0$$
$$\arg{i} = \frac{\pi}{2}$$
Our two complex exponentials are therefore:
$$1 = e^{i0}$$
$$i = e^{i\frac{\pi}{2}}$$
Now we perform the division making use of the exponent rules:
$$\frac{1}{i}=\frac{e^{i0}}{e^{i\frac{\pi}{2}}}=e^{-i\frac{\pi}{2}}$$
If you consult the unit circle (since the magnitude is 1), you will find that a phase of $-\frac{\pi}{2}$ corresponds to $−i$. Alternatively you can apply Euler's formula:
$$e^{-i\frac{\pi}{2}} = \cos\left(-\frac{\pi}{2}\right) +i\sin\left(-\frac{\pi}{2}\right) =-i$$