TEHRAN — A day after results in the capital showed a landslide victory for reformist and moderate allies of President Hassan Rouhani in Iran’s parliamentary elections, state television on Sunday reported a nationwide triumph for hard-liners.

The English-language news channel Press TV echoed forecasts by news organizations affiliated with the hard-liners, saying that their candidates had won decisively outside the major city centers.

But as final nationwide results had not been announced, it remained unclear how the hard-liners had done.

In Tehran, where results are official, the urban middle classes voted in large numbers for the combined list of reformers and moderates who support Mr. Rouhani. In other large cities, many reformists also won. While Iran’s eight biggest cities make up more than half the country’s population, they control only 57 of the 290 seats in Parliament.