Can secureView be applied for when user trying to record the screen ?
Closed this issue · 5 comments
What ?
Can secureView be applied for when user trying to record the screen ?
I found that UIKit has UIScreenCapturedDidChangeNotification
to detect where screen is started recored, while this lib only contains UIApplicationUserDidTakeScreenshotNotification
.
Can we add listener to detect where the screen is started being recorded ?
Thank you @gbumps
https://developer.apple.com/documentation/uikit/uiscreencaptureddidchangenotification
Hi @mthinh
At present, all function are fully applied for both screenshot and screen recording on iOS, come with listener as well.
Yep, you may right about the UIScreenCapturedDidChangeNotification
and UIApplicationUserDidTakeScreenshotNotification
. When the screen is being recorded, it's not triggered the event but screen capture only.
I'm too busy of company's stuff, I'll consider add this on the next update. Thanks for suggestion!
Or if you want to contribute, don't hesitate to create a PR and I'll check for it.
Thanks for your reply @gbumps
Just to confirm that when I start recording the screen, does the secure view appear or when only I take a screenshot when recording ?
both recording and screen capture are applied, on iOS, you'll received a vid of color only, or a blurred, or with image. Just only event listener when capturing is triggered, recording not yet.
Closing. Add another TODO for this