Four Labour activists have been charged by police after an investigation into claims that a party database was manipulated to help fix a candidate selection.
It is the first time the prime minister has been north of the border since the Scottish Labour leader Anas Sarwar called for him to step down in February.
The UK Foreign Office says it is giving consular assistance to "a small number of British nationals" that have been detained there after allegedly taking pictures of Iranian attacks.