Also check that you do not have TeamViewer installed by the scammers on the devices. Anydesk is sometimes used to make an initial remote connection which allows the scammers then to install other remote access software with more features. Check for any other remote access apps on the devices.
You should then consider all of the tasks listed in the other topic link at message #4 above and see how they apply to your situation. If they had access for a long time, then the greater the risks. You need to start a process of closing down all of the avenues that the scammers might have been able to exploit when they had access.
Set about changing your passwords and security questions. Start with the most important ones first of all such as email, banking, access to cloud accounts/services, social media, key shopping accounts (Amazon etc.). Be particularly thorough if you have used the same login/password details across different accounts/services in the past. Each account/service should have its own new unique and complex password which is different from anything used before.
I am not familiar enough with Apple products to give you specific advice on those but you need to make sure there are no further remote access programs or malware in place on those devices they had access to, which may allow them continued access without you knowing about it or via key logging. Seek advice from a local reputable computer shop or technician if you are not familiar with how to do this.
Longer term, keep an eye on your credit file. You may be at greater risk of identity theft. Refer to the Action Fraud page on this in the link above at message #4.
Contact Action Fraud. They may be able to give you further advice. They should also give you a crime number which may be helpful if you need to contact other organisations subsequently.