Need to Implement User Driven Crop in iOS app - ios

Is it possible to implement the iOS 5 > 'Photos' app cropping mechanism? This is exactly what I need for my app. I need to allow a user to pick an image and crop that photo using something like what the 'Photos' app provides. Is there a library for this? Can I hook directly to it from the SDK? What are my options here? I have looked through Google and Github with no luck.

The standard SDK provides a way to get a picture, let the user crop it, and import it into your App, See: http://developer.apple.com/library/IOS/#documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.html

Related

Use iOS10 Photos Markup feature in own app

Is it possible to use the Markup feature from the Photos app/extension in my own app? I'd like to use this exact screen, if possible:
https://www.igeeksblog.com/wp-content/uploads/2016/06/Use-Markup-in-Photos-App-in-iOS-10-on-iPhone-and-iPad.jpg
As described here:
https://www.igeeksblog.com/how-to-use-markup-in-photos-and-messages-in-ios-10/
Thanks!

Facebook iOS sdk 3.10 share local image or movie

I used Facebook sdk in the past, but the new version is making me crazy. I'm trying to create a UIActivity subclass that calls the official facebook share dialog. Since for someone having the "via iOS" instead of the app name in the post is a first world problem (just kidding), I can't use the iOS native integration with the SLComposeViewController.
In the documentation it seems that for post a picture using the share dialogs you need to use open graph actions, but is not totally clear to me if you can do inside your app, or you need to rely on external php application.
I've seen that there are some common actions that wouldn't require a declaration of a new one, but posting a photo or a movie it doesn't seems to be there.
I'd like to use something "native" as a share dialog instead of an FBSession if possible.

How to access instagram images

I have an application in which i want to get images from instagram or cameraroll and then use that images. How to pick images from instagram?
You can access instagram images in your iOS app only by using instagramAPI.
If you are not familiar with Social media integration in iOS, please be aware that any social media integration in iOS requires the respective API .
You should start with their docs instagramAPI .The way to access is also described here.
you can check this easy framework https://github.com/Busta117/SBInstagram
you can change when the user tap over the image and get your UIimage to use it where do you want.

accessing ios photos and uploading to a webserver

I am trying to build an iOS application that will display all of the iOS device's photos in a view. The user should then be able to click each photo to select (multiple selections allowed) then after selecting, upload the photos to a webserver.
Is it possible to access the photos that are controlled by the Photos application? Does anyone know of any efficient way to get access to the photos (third party framework) and/or a tutorial?
Thanks
Apple's developer site lists the Assets Library Framework as a way "to access the pictures and videos managed by the Photos application." The documentation there is fairly extensive, and looking around the dev site more should yield several tutorials and example apps.
AFAIK you can't grab all images from camera roll and use them in your app but you can have a UIImagePickerController that lets the user choose the image from their camera roll and a delegate is fired when they select one (or take a picture depending on how you set it up) then you can use that image in your app.

What is the equivilent to a ContentObserver in iOS?

I use a ContentObserver in my android application to receive a notification whenever a photo is taken. Obviously iOS doesn't use the intent system, so is there an equivalent or alternative way to do this? I would prefer not to write a full camera application if possible.
This is not quite possible. Even the latest Google+ application on iOS, with its Instant Upload feature does not get notified when photos are taken, it simply checks the asset library while the application is running, and then as long as possible while running in the background before getting timed out by the OS.
The following is from the Google+ help on the matter:
Note: Photos and videos will upload while the Google+ application is
open and for a brief period of time afterwards.
HTH
You cannot run in the background and get notified when a picture is taken and saved to the Camera Roll by another app on iOS.
That said, you don't really need to write a whole camera app to be able to let the user take pictures from within your app, or to access Camera Roll from within your running app.
Take a look at UIImagePickerController. It is really easy to let the user select or take a photo on iOS.
There is no equivalent to ContentObserver in iOS.

Resources