Frage

According to Cocoa with Love Reachability is needed when an app requires WiFi (rather than cellular network), e.g. if app loads heavy videos and is not meant to be used over 3G.

My app uses internet no matter if WiFi or 3G and only downloads small data from web services.

Can someone clarify under which circumstances an app must do this reachability test?

War es hilfreich?

Lösung

Reachability is needed if your application needs to know 'when' it's ability to access the network has changed.

I've seen recommendations that say to always try to access your resource first, and if you fail - to use data from Reachability to find out why.

Andere Tipps

Since you're using internet connection only for small data downloads you really don't need to care if you're using WiFi or 3G.

True, there are some restrictions for cellular newtorks. Take a look at paragraphs 9.3 and 9.4 AppStore Review Guidelines. You need a developer id to view it so i think we're not allowed to quote it here.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top