JayantBadlani / ScreenShield

ScreenShield is an iOS library that provides a simple way to protect your app's content from being captured or recorded by screenshots, screen recordings, or other screen capture methods. It works by adding a secure layer on top of your views, which prevents most screen capture mechanisms from recording the underlying content.
MIT License
89 stars 15 forks source link

table view delegates(did select) stop working after protecting view #10

Closed mayurb9494 closed 5 months ago

mayurb9494 commented 5 months ago

min deployment iOS version 13 target version iOS 17.4 tableview didselect not working Screenshot 2024-04-18 at 9 44 45 AM video:

https://github.com/JayantBadlani/ScreenShield/assets/48545554/beed4a48-12a5-45c7-aaef-b8955aed5f2a

JayantBadlani commented 5 months ago

Hi @mayurb9494, You can try adding "ScreenShield" protection to your view after the UI finishes loading. Implementing this protection in the viewDidAppear method can effectively mitigate problems. I hope this resolves your issue.

I also suggest checking out the README file for more detailed instructions and information.

mayurb9494 commented 5 months ago

tried but not working! here is project: Demo.zip

check ScreenShieldViewController

JayantBadlani commented 5 months ago

@mayurb9494 You can use this workaround solution to achieve the desired result. here is the working project: DemoTableClickWorking.zip

Please leave a star ⭐️ on my repo if I and my repo are able to help you. Thank you!