Note that I've obviously never written an iOS app, but I figured that Apple required you to submit the source of your app for their auditing process. Which sounds extreme, but this is Apple we're talking about. :)
[0] http://daringfireball.net/2010/04/iphone_agreement_bans_flas...
[1] https://developer.apple.com/app-store/review/guidelines/