The competition raised over $ 5 million for coronavirus charities and also marked the return of live golf on television.
No spectator was allowed to watch the game and the players completed the course without caddy.
Trump, a lifelong golf enthusiast, joined NBC’s coverage to say he hoped the sport would return to normal as soon as possible.
“We want to resume sport, we miss sport, we need sport in terms of our country’s psyche,” he said.
“We really want to see him go back to normal. So when you have all those thousands, tens of thousands of people who go to your majors and go to golf tournaments, we want them to have the same experience.
“We don’t want them to wear masks and, you know, do what we’ve done in the past few months.”
World number one McIlroy has already played golf with Trump, but last week he said he would decline a future invitation after the way the President tried to “politicize” the pandemic.
“It’s not really the way a leader should act and there is a little diplomacy that you have to show, and I don’t think it really showed it, especially in these times.”
Trump did not respond directly to Northern Irish, but said he liked to meet a number of professional golfers.
“Many of them are very political. Some really like my politics and some don’t. Those I can’t see aren’t that many,” he said.
The recent event precedes another charity golf game this Sunday when Tiger Woods and Payton Manning face Phil Mickelson and Tom Brady in what is nicknamed “The Match: Champions for Charity”.
Coffee enthusiast. Travel scholar. Infuriatingly humble zombie fanatic. Thinker. Professional twitter evangelist.