Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 11: Is it possible to block screen recording?

Tags:

ios

ios11

I have an app which plays video, and I don't want people to use the new iOS-11 feature to record these videos and make them public. That feature is described here.

I could not find any documentation regarding an option for my app to prevent users from recording it.

Can anybody please guide me to anything related to this?

Thank you!

like image 970
ishahak Avatar asked Sep 06 '17 10:09

ishahak


People also ask

Can screen recording be blocked?

Screen Capture protection is possible in Android App, IOS App or IOs browser, but desktop and android browsers can not prevent screen capture. Desktop and Android can have viewer specific watermarking to discourage/deter users from screen capture.

How do I restrict screen recording on iPhone?

iOS 12, 13, 14 and 15. If you are on iOS 12, 13, 14 or 15, go to: Settings > Screen Time > 'Content & Privacy restrictions' → Content restrictions. Scroll to the bottom and you will see an option called 'Screen Recording'.

How do I disable screen recording on my iPhone 11?

You can add or remove the Screen Recording feature from the Control Center by going to Settings > Control Center > Customize Controls and tapping the red circle to the left of Screen Recording to remove it, or the green plus icon to ad dit.


1 Answers

I am publishing here the official response from Apple Developer Technical Support (DTS):

While there is no way to prevent screen recording, as part of iOS 11, there are new APIs on UIScreen that applications can use to know when the screen is being captured:

  • UIScreen.isCaptured Instance Property
  • UIScreenCapturedDidChange Notification Type Property

The contents of a screen can be recorded, mirrored, sent over AirPlay, or otherwise cloned to another destination. UIKit sends the UIScreenCapturedDidChange notification when the capture status of the screen changes.

The object of the notification is the UIScreen object whose isCaptured property changed. There is no userInfo dictionary. Your application can then handle this change and prevent your application content from being captured in whatever way is appropriate for your use.

HTH!

like image 69
ishahak Avatar answered Oct 03 '22 19:10

ishahak