We have a requirement to create a notification that stays on screen for the period of the event. Every time user clicks on it, it should navigate to the app, but notification remains on the lock screen/notification screen.
Is it possible in iOS?
I'm starting now with swift and wanted to know how do I save the data from my app. I have text and photos in my app. how can I save this using the firebase or saving directly to the user's iphone?
I want the user to terminate an action and the app to save automatically.
an example the user added an image in the imageview using the photos library closed and left the app. when he reopened everything he did this as he had left.
Is it possible to detect when the user takes a screenshot in any app while my app is in the background ? And how would I do that ?
If not, can I background check regularly for screenshots (not pictures from the camera) in the photo library ? Like every minute or hour ?
One way to get your app to detect Screenshots is:
Register with the Photo Library's PHPhotoLibraryChangeObserver
When your app receives a notification that a photo has been added,
check its PHAssetMediaSubtype
If the Subtype is PHAssetMediaSubtypePhotoScreenshot, you know a new
Screenshot has been taken.
The PHPhotoLibraryChangeObserver protocol notifies you of changes that
occur in the Photos library, regardless of whether those changes are
made by your app, by a user in the Photos app, or by another app that
uses the Photos framework.
https://developer.apple.com/reference/photos/phphotolibrarychangeobserver
I am creating a app where i can set the reminder based on Location and date.Apple has already given the UI if you are using Reminder which has both option.Can any one help me out that how can i open that Create event screen.
I've worked on an Android application that enable to send pics directly via the album photo. Just have to add a link to my app in the share via button.
Now I'm doing the same app for iPhone. That's why I want to know if that is possible to put my app to the list of propositions in that share via button.