App/game from iPad to Project

i read sometime that you can change somewhere a setting so you can see your app on the ipad also on the project (connect to cable).
I know you can’t submit an app like that to the appstore, it would be a personal project.
Does somebody know how to do this?

lesfundi

Can you explain what you want to do a bit further? I’m not really sure what you mean here.

just a build on my own iPad (development one), but when i plug the vga to a project on my ipad i would like to see it on also on my tv screen.
I read you could do that, but not add this code in xcode project when you build it for the appstore