Jenny Gilruth, SNP Education Secretary, has issued a warning after reports that primary school pupils in Edinburgh were accessing adult content on school iPads.