How can I implement -[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]
for iOS < 5?
#if __IPHONE_OS_VERSION_MIN_REQUIRED <
I would go with an already built framework like ASIHTTPRequest (No longer being developed, but still very good) or RestKit (I've never used it before but heard it's decent). These will give you the same functionality (asyncrhonous http requests) across different versions of the OS.
ifdefs aren't the way to go since they're done at compile time and you won't be compiling separate versions of the app for each platform.
You could probably do some shenanigans at runtime to get it to work but it seems like more trouble than it's worth.