The screen capture setting can be registered in Android on a per-activity basis, iOS on a per-view basis.
It is also possible to change the current setting from within application code.
Please check the implementation manual under "Set a specific view forbidden to capture(Android),Adding view tag as sensitive view(iOS)" for more details.