iOS 4.3 opened up AirPlay for 3rd party devices by adding a "allowsAirPlay" property to MPMoviePlayerController. (Unfortunately, developers aren’t given direct control over this feature and must depend on the default functioning of this control.)
You won't want to limit your apps to running only on 4.3. Make it backwards compatible, to offer your app to run on older versions of iOS, you just need to do this:
That will set the new allowsAirPlay property to YES, without breaking compatibility with older iOS versions.