On an iPhone or iPad, press and hold the zero (0) key on the keyboard to access the degree symbol and slide your finger to select it.