I’d like to know if Apple currently supports any public API or entitlement for blocking in-app screenshots on iOS. If no such API exists, what is the officially recommended approach for App Store apps to prevent or react to screenshots of sensitive content in a banking app? I have tried using a hidden UITextField with isSecureTextEntry = true and observing UIApplication.userDidTakeScreenshotNotification, but these methods do not block the initial screenshot. Could you please advise how to block screenshots in my app?
By definition, we can't talk about or acknowledge the existence of private APIs in any conversations. Any apps that have reverse engineered solutions using undocumented private APIs run the risk of either being rejected by App Review and/or depending on APIs that are subject to change without notice at any time thereby causing their app to stop working as expected or crash. Your best bet here is to file an enhancement request asking for the functionality you require.
If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?