I'm trying capture the screen in iOS but it's failing. On the desktop it works fine. I'm using
path = AppFramework.standardPaths.defaultFolder(StandardPaths.PicturesLocation).path; to set the file location.
I got it. I had made some mistakes with the paths in iOS.