RowdyAudi wrote:
Well, it surprises me that this devolved so interestingly, but I think that I may have an answer.
So, trying to solve this same issue for myself, I went stumbling around my network settings. Lo an behold, it appears that by going into the "Advanced" section of Wi-Fi on my MacBook and dragging the networks into the preferred order there, the settings have (apparently?) synced to my iPhone. I no longer seem to be having issues with my phone connecting to my less desirable network. To be fair, the less desirable network has always been on the far end of my range so maybe my phone is now simply detecting it less, but it seems to be doing the trick by setting the priority list on my MacBook.
Cheers 🙂
Despite what this thread implies, there is already logic in how the iPhone selects the WiFi network to connect to. It works as follows:
- If the phone was connected to a WiFi network when it went to sleep, it first attempts to connect to the same network (based on SSID) when it wakes (Note that WiFi turns off 30 seconds after the phone goes to sleep to preserve battery life)
- If that network is not available when it wakes the phone connects to the strongest network that it has previously connected to.
What this essentially means is that if you were using, say, the xfinitywifi public network when you were out and about, then go home, it will first attempt to connect to xfinitywifi when you get home. If that fails it will connect to your home WiFi network (unless it is no longer the strongest signal, which would be rare in a home setting). However, if you were connected to your home network, then went out and did not connect to xfinitywifi while out, when you get home it will reconnect to your home network.
The logic behind this algorithm is that it takes much longer to connect to a different network than to connect to the same network. Thus, if the phone is asleep and wakes up it will connect instantly to the last network it used. If the logic was changed to use a search list every time it woke up it would take up to a minute before you could use WiFi every time the phone was awakened.