Apple just released iOS6 this morning here in Sydney Australia. You may experience an issue where when connecting to your wifi, it refuses to connect and a Safari modal with a apple.com header loads.
This MacRumors.com thread explains why:
Ever since iOS 4(?) there has been a feature where if you connect to a WiFi network it will try to ping this site:http://www.apple.com/library/test/success.html
If it is a success then it lets you connect, if it is not a success the phone trys to bring up what would be a Login page for corporate wifi networks. Example, public access points that have a login page, etc.
It seems that some moron at Apple deleted the file located at http://www.apple.com/library/test/success.html and that is why it is not working.This is not an iOS 6 issue but rather a problem with Apple’s website.
Rebooting your phone will not help, nothing will help until Apple fixes the problem on their end.
It’s checking to see if the wifi has an internet connection or if it is a captive portal you need to log in to. If the wifi requires a log in, it shows the page it redirects you to even if you aren’t in a web browser. Before they added this, you’d be trying to figure out why your app isn’t working until you tried safari and got the login page there.