Handling connectivity state
There's code that checks Reachability at launch so it can show a "No internet connection" popup. What's the problem with that approach?
There's code that checks Reachability at launch so it can show a "No internet connection" popup. What's the problem with that approach?
A preflight check that blocks requests based on connectivity produces both false positives and false negatives. Apple's rule is to always send the request and handle the failure.
NetworkingShort answerAdvanced
A report says image uploads work on cellular but fail only on the office Wi-Fi. What…
#nwpathmonitor
NetworkingMultiple choiceAdvanced
In an app that uses URLSession, a user on the subway loses the connection for a moment…
#waitsforconnectivity
PersistenceShort answerExpert
You need to sync a notes app's local database with the server. Downloading everything…
#offline
iOS system designShort answerAdvanced
Design an infinite-scroll feed screen like Twitter's from the iOS client's point of view…
#offline