Of course he knew. It was confirmed when he asked Trump over the phone why he turned his head at that particular time.
And when he told George Stephanopoulos a week ahead of time that he wasn’t going to withdraw from the race because Trump was about to be “challenged” in a way he had never been challenged before.