Is there an app on the iPhone that I can use as a remote?

My friend has an app on his phone where he can control the TV like a remote but it's not an iPhone so's wondering does my phone have an app like this

Yeah I think the satellite provider has the app that allows you to do everything like that.

I believe only xfinity does this now, so if you have xfinity, download the app from the app store on your mobile and search for a tv then connect.

Yea, but warning, I got one, and it was only an on/off setting, I kept pushing it and nothing happenes. A couple of months later I got a letter from someone in China saying cut it out.

Yes sure there are app which can work as your remote. Anyway you will need to use it very cautiously because there will be some security issue. So you should not use any app for this. Rather use a reliable app.