In April Khamenei stated that any vote in the election is a vote for the Islamic Republic. He attempted to show that a high turn out validates the legitimacy of the electoral process and the Islamic Republic of Iran. However, two days before the election he changed course stating that everyone should vote even if they disagreed with the Islamic Republic. Khamenei then reversed course again saying that the original statement he made is valid. Khamenei's attempt to exploit Iranian nationalism and increase voter turnout shows that he may actually care about public opinion. The number of moderate votes will not be welcomed by Khamenei.
UPDATE 1: mentioned Twitter posts by Khamenei on voter turnout.