P patrover macrumors newbie Original poster Aug 15, 2009 25 0 Aug 29, 2009 #1 is there a way to distinguish whether the data that is sent/received through NSURLConnection is transmitted using EDGE/3G or whether using WiFi ? thanks
is there a way to distinguish whether the data that is sent/received through NSURLConnection is transmitted using EDGE/3G or whether using WiFi ? thanks
L `lowell` macrumors newbie Aug 20, 2009 29 0 San Diego Sep 2, 2009 #2 patrover said: is there a way to distinguish whether the data that is sent/received through NSURLConnection is transmitted using EDGE/3G or whether using WiFi ? thanks Click to expand... i thought i heard either evan or allan mention in one of the stanford videos that we couldn't; i'd normally trust their word as they work for apple (evan does anyways, he led a session at wwdc), but a quick google query gives you this: http://kastang.com/blog/2009/08/iphone-dev-tip-determining-connection-type/ then again, i probably mis-heard as i was only half listening while watching those videos.
patrover said: is there a way to distinguish whether the data that is sent/received through NSURLConnection is transmitted using EDGE/3G or whether using WiFi ? thanks Click to expand... i thought i heard either evan or allan mention in one of the stanford videos that we couldn't; i'd normally trust their word as they work for apple (evan does anyways, he led a session at wwdc), but a quick google query gives you this: http://kastang.com/blog/2009/08/iphone-dev-tip-determining-connection-type/ then again, i probably mis-heard as i was only half listening while watching those videos.
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Sep 2, 2009 #3 Look at the reachability sample: you can tell at a given point in time of you are on WiFi or not. Once you have the data you can't...
Look at the reachability sample: you can tell at a given point in time of you are on WiFi or not. Once you have the data you can't...