NSURLConnection and EDGE/3G

Discussion in 'iOS Programming' started by patrover, Aug 29, 2009.

  1. patrover macrumors newbie

    Joined:
    Aug 15, 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
     
  2. `lowell` macrumors newbie

    Joined:
    Aug 20, 2009
    Location:
    San Diego
    #2
    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.
     
  3. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #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...
     
  4. patrover thread starter macrumors newbie

    Joined:
    Aug 15, 2009

Share This Page