Alternatives to weak linking in iPhone SDK?

Posted by Moshe on Stack Overflow See other posts from Stack Overflow or by Moshe
Published on 2010-06-16T18:15:00Z Indexed on 2010/06/16 18:22 UTC
Read the original article Hit count: 557

I'm looking to make my app compatible with older versions of iPhone OS. I did see weak linking mentioned as an option. Can I use OS version detection code to avoid code blocks that the OS can't handle? (Say iAD?)

if(OS >= 4.0){
//set up iADs using "NDA code"...
} 

If yes, what goes in place of if(OS >= 4.0)?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk