My ipad wont work using the remote app via the apple tv. It keeps telling me to turn on home sharing. I have it turned on apple tv,pc and the ipad.

I also have the latest of everything software wise. I even uninstalled the remote app and that didnt help either.