I'm trying to keep my app compatible with iOS 3.1 while also adding support for some new features of iOS 4, like limited-duration background tasks (beginBackgroundTaskWithExpirationHandler:
).
Of course the proper way to do this is to check respondsToSelector:
for each appropriate call, but I'm still afraid I'll miss a call here or there. Is there a way to check for any calls I might have missed in an automated fashion—some tool I can run while compiling?
I could simply build with SDK 3.1 as my active SDK, but Apple no longer installs SDK 3.1 and I don't know where to find it any longer.