U.S. President Donald Trump expressed optimism for a swift end to the conflict in Iran during a White House press conference.