The iPhone has a lot of settings to bolster your privacy. Apple, despite collecting a decent amount of your data, gives you more control over your privacy than your average gadget ...
You'll first need to access your Intelligent Wi-Fi settings by opening your Settings app, tapping on the Connections tab, then Wi-Fi, then the three dots (for expanded settings) on the top-right ...