conditionally import framework
问题 well to begin with I'm sure this is a simple question. I am developing an iPhone app with the iAd Framework, which only runs for iOS 4.0 or higher. Still, I wanna choose a iPhone OS 3.0 deployment target, which causes everything to crash. How do I conditionally include the iAd framework? ...I mean, it would be something like: ...if([[UIDevice currentDevice] systemVersion]>=4.0]) #import Obviously this won't work because I don't know the correct syntax. Also: How do I conditionally declare an