From the Settings app, tap Wi-Fi.
Tap the info icon beside the Wi-Fi network you would like to edit.
Tap or slide the Rotate Wi-FI Address switch to ON.
Using a rotating Wi-FI Address will randomize your MAC address when connected to a Wi-Fi network. This will help reduce tracking of your device across different Wi-Fi networks.
You've completed the steps!
