The Swiss franc gained 0.29% against the dollar as renewed U.S. strikes on Iran dampened ceasefire hopes, boosting safe-haven demand.