Whether you’re using an iPhone or an Android device, this guide is helpful during high-pollution days or when you’re planning to spend time outdoors.