iphone - iOS - Notified when wifi or network radios become active (not just available) -
i writing app needs 'phone home' every once , while not @ specific time. therefor wondering if there way register notified when either wifi or cell radios become active (not available) due other apps transferring data, piggy off these requests transmit data.
i might misunderstanding functionality of iphone in general here. assumed radio entered low power (stand or sleep) mode when not being requested applications. feel reachability.h/.m initiate request connect host (such google.com) therefore waking radio , wasting energy.
has apple not provided registration method triggers when radio 'wakes' , starts transmitting data application use opportunity transfer pending data without explicitly waking radio itself?
thanks
if app in foreground (running) make network call. since iphone won't let run in background, doesn't matter if there call describe.
in app delegate implement applicationdidbecomeactive: make call home.
Comments
Post a Comment