Iran's President Hassan Rouhani unveiled the country's latest domestically produced ballistic missile on Saturday, saying such weapons are necessary for defence in the Middle East.