is it possible to prevent screenshot of view in ios? - ios

I have some sensitive content in my app which I want to prevent from taking screenshot and screen recording. is it possible in iOS?
I have tried using screenshield Kit, but it only prevents UIlabels and Uiimageviews.
https://screenshieldkit.com

Related

Grid Lines in UIImagePicker camera

I am developing an app that uses UIImagePickerController to capture photos in my current app. I would like to display grid lines (like the original iOS camera app).
At the moment I am adding a custom view as an overlay over my camera preview to draw the grid but the problem is I can’t never get it to be perfectly positioned on all devices. It’s a lot of manual math and guessing what position works on each of devices.
I am wondering is there any better solution than what I am doing.
Thank you

Create a gallery view like Photos App of iPhone

Does iOS provides default view like Photos App.
Scrolling through images, which also maintain bottom thumbnail images.
Even WhatsApp is using this same view.
I would like to know if iOS provides similar kind of view.
Here I have attached reference screenshot.

Take screenshots programmatically of entire scrollable area of another app in iOS

Currently it is cumbersome for the user to repeatedly scroll and take a screenshot if they want to capture more than what can fit on the screen at a time.
I would like to implement functionality such that at the request of a user (e.g. via tapping a special button on a custom keyboard), screenshots of the entire scrollable area of the currently opened app are automatically taken and stitched together.
Is this possible? And if so, how?
To clarify, the application containing the scrollable area is a third party application over which I have no control, e.g. iMessage or Facebook.
Edit: I am aware of answers like this one and this one that are about taking screenshots within an app that I control. As far as I can tell, these are not applicable in my situation. Please correct me if I am wrong about this.
This is not possible. Each app is contained in a protected sandbox that no other apps have access to.
You could make a custom keyboard, but you still wouldn't have access to any of the views in the app that you don't control.

Form Filling apps iOS 7+

I have an iOS app with 85% form filling screens. And data to be filled contains on an average 8-10 textfields per screen. I'm using scrollview to achieve it. I have done it but is there any proper/ideal way to make the scroll working smoothly for the textfields in potrait/landscape mode for iPhone & iPad?
Thanks.
So they're not smooth at the moment? You might find that a table view approach would handle it better, though without seeing some more details of the app (screenshots or code) it's hard to say!

Remove/hide Full screen button from MPMoviePlayerController Standard Controls

I want to remove/hide the full screen button from MPMoviePlayerController standard controls as full screen mode is creating lot of problems and also not a requirement of my app.I just want the play,stop,forward,reverse controls. Can anybody help me?
There's no standard way to do this. Here are your options.
You could set the MPMoviePlayerController's controlStyle to None and create your own custom controls. Cons: this is a lot of work.
You could use the NSNotificationCenter to intercept the MPMoviePlayerWillEnterFullscreenNotification and immediately set fullScreen mode to NO. Cons: based on the iOS version of the user, this may cause a flicker or some glitchy effect.
You could go through the MPMoviePlayerController view's subviews until you get to a MPInlineTransportControls view which contains the controls, the slider and the play/pause button and the full screen button which are all of class MPTransportButton. Find that one and you can hide it or remove it from its superview. Cons: as of right now this passes app store reviews and works perfectly on all currently supported iOS versions. But this could change at any time. If Apple decides to redo their default video player you may end up with non working code.

Resources