Donald Trump hopes to have China help him end the war in Iran, but this goal seemed far from guaranteed as he wrapped up his two-day visit to Beijing. Xi Jinping, in turn, took the chance to warn the US over Taiwan.

The high-profile Beijing summit between Donald Trump and Xi Jinping ended with bombastic, positive statements — especially from the Trump White House, which called the US president "the dealmaker-in-chief" — but with little info known about concrete deals between the two rival superpowers.

Trump praised Xi during the visit, calling him a "great leader" and "a man I respect greatly."

Addressing reporters at a press event alongside Xi, Trump also indicated that he and Xi "feel very similar" about the Iran war, which has been dominating global politics since the US and Israel launched air strikes on Iran in late February.

"We want that to end. We don't want them to have a nuclear weapon. We want the straits open," Trump said.