Uh, i don't think you can. Apple keeps tight control over their application eco system through developer agreements and they are vehemently opposed to any code execution engines and such. I could be wrong. Why on earth would you want to do such a thing?