Would it detect the new video settings when I hook it up to a new tv?

So say I lose my remote (which I tend to be an organized person). If I get a new Iphone, would pairing be the same?