Samsung Smart View is a free application that turns your iPhone or iPad into a remote control for Samsung Smart TVs. In order to use this application, all that is required is that both devices be connected to the same local network.
Control Your Samsung Smart TV with Your iPhone/iPad
Once downloaded, you will be able to change channels and control your television volume from your iPhone. You can even browse through Smart Hub applications and input text via the iPhone's virtual keyboard.