A former spokesman for President Obama called it "embarrassing" that President Trump declined to take questions from reporters on Thursday during his first visit to China.

"The Chinese try this every time. It’s a test of will and principle. Letting them dictate press access is an embarrassing capitulation," Jay Carney tweeted.

"I once had to tell Chinese officials that Pres. Obama would not show up for the press avail unless there would be a Q&A. They backed down."

The Chinese try this every time. It’s a test of will and principle. Letting them dictate press access is an embarrassing capitulation. https://t.co/uIaEWhcpgF — Jay Carney (@JayCarney) November 9, 2017

I once had to tell Chinese officials that Pres. Obama would not show up for the press avail unless there would be a Q&A. They backed down. https://t.co/Z2LdwSYK9k — Jay Carney (@JayCarney) November 9, 2017

ADVERTISEMENT

During an appearance Thursday alongside his Chinese counterpart Xi Jinping, Trump declined to take questions from reporters. White House press secretary Sarah Huckabee Sanders said it was "at the Chinese insistence there were no questions today."

CNN reported that Obama did not take questions during his first visit to China, but former presidents George W. Bush and Bill Clinton William (Bill) Jefferson ClintonDolly Parton remembers Ginsburg: 'Her voice was soft but her message rang loud' Sunday shows preview: Justice Ginsburg dies, sparking partisan battle over vacancy before election Calls grow for Biden to expand election map in final sprint MORE did.

Trump often rails on the media, accusing networks and reporters of publishing "fake news."