Wary of digital technology that helped fuel past protests, Iranian officials have tried to promote domestic apps instead.