You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the contentView is not provided in init(:_) and rather lazily given using setup(contentView: UIView) method, screenshot blocking doesn't work.
The reason is preventScreenCapture variable doesn't get set in this scenario. We prematurely exit out of the setupUI() function if contentView is nil. Therefore, the below block never gets called.
If the contentView is not provided in init(:_) and rather lazily given using
setup(contentView: UIView)
method, screenshot blocking doesn't work.The reason is
preventScreenCapture
variable doesn't get set in this scenario. We prematurely exit out of thesetupUI()
function if contentView is nil. Therefore, the below block never gets called.The text was updated successfully, but these errors were encountered: