Hello there,
I can block it with these codes while using Android.
How can I prevent taking screenshots on ios phones?
Thanks.
I can block it with these codes while using Android.
B4X:
Dim nativeMe As JavaObject
-----------
nativeMe.InitializeContext
nativeMe.RunMethod("securescreen",Null)
-----------
#If Java
import android.annotation.TargetApi;
import android.content.Context;
import android.view.WindowManager.*;
public void securescreen() {
this.getWindow().setFlags(LayoutParams.FLAG_SECURE, LayoutParams.FLAG_SECURE);
}
#End If
How can I prevent taking screenshots on ios phones?
Thanks.