如何防止在flutter ios中拍摄屏幕拍摄
I've got an education flutter iOS app. and I want to prevent users to take screenshots or screen records on a specific screen and how to make it
I'm trying many solutions here but no one is working
as attached below, it is a screen record form my iPhone from another app
it still records till I reach to specific screen and push me back and showing me this alert dialog
how to achieve this feature
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,App Store可以防止此功能禁用屏幕截图,因此我们可以解决此操作。我的解决方案是使用户进行屏幕截图,但没有数据。我通过这个简单的代码实现了
Actually, APP Store Prevent this feature which is disable screenshot so we can work around to do this. my solution was to make user make an screen shot but with no data. I achieve it by this simple code
如果您不希望用户在应用程序中使用屏幕截图,请使用此功能。
flutter_windowmanager
通过使用此软件包,您可以添加更多功能,例如Blur应用程序,在后台强制强制强制填充应用程序屏幕,解散关键守卫。
阅读Dicumentation以获取更多信息。
Use this if you don't want users to take screenshots in your app.
flutter_windowmanager
By using this package, you can add many more functionality like blur app when its in background, force full screen, dismiss keyguard.
Read the dicumentation for more info.