I am trying to block screenshot in flutter I have found only one solution everywhere that is to change AppDelegate.m File in the Runner Folder of Flutter (IOS). But there is no AppDelegate.m File there so that solution is not working for me. Moreover I have tried Screenshot Callback but that also not working because when the Callback is detected the screenshot have been taken. Now I am thinking to run some native code through Flutter Channels for IOS is that possible or is there anyway to prevent screenshot?
Moreover, Can we delete screenshot after taking like we can delete the last picture that been taken after screenshot?
Here is the link to the solution I have described above but not working for me. https://stackoverflow.com/a/60994901/15415511