I've just purchased my iPhone 4 and I am having some difficulty with the Wifi. I can connect to my router without any problem and i have an IP address assigned to the device but it does not seem to use the Wifi connection. Even though I am connected to the local network the iPhone uses 3G to download all apps and access my mail box. Any ideas anyone?