How I travel-proofed my iPhone.