How to make code compatible for both IOS 5 and IOS 4 [iphone]
<p>I am on a new project. I want my code compatible to be for both IOS4 and IOS5 SDKs. I need all my functionalities work both in IOS4 and IOS5. That said, i am not planning to use new features in IOS5 (feature wise) and disable that feature for IOS4.</p>

<p>I have 2 options. Let me know which is best ?</p>

<ol>
<li>Target and code for IOS4. and that will work fine in IOS5 also, i think.</li>
<li>BaseSDK IOS5 and target IOS4 .(I am not planning to use ARC or storyboard for now anyway ).</li>
</ol>

<p>I think with method #2, i have to be extra careful while using each usages at the same time as i am not using story board and ARC , there are no benefits. So hope #1 is better.</p>

<p>Let me know expert opinion. </p>

<p>Note: in future if need to switch to IOS5 new features , hope only this ARC will be the blocking and that is also an optional thing and i can easily switch rt?</p>
