Prevent screen recording and sharing in app

Hi. I am looking for a UIKit solution that allows me to “prevent” screen recording and sharing on certain pages in application.

By “preventing” I mean that the distributed result should be a black content. Me as a user should still see the pages’s content as it is, but the recording or shared screen footage should show a black screen.

I have already checked out the workaround solutions with UITextField, but those does not work for me. So I am looking for other suggestion.

(Btw I know that nothing stops a user from taking a video of an app with another phone, but I still need a solution to the issue I have described above)

Prevent screen recording and sharing in app
 
 
Q