The dollar strengthened against the offshore yuan on May 26, as renewed US strikes on Iran dampened optimism for a Strait of Hormuz deal, boosting safe-haven demand.