My app has a cover photo feature and I have no idea on how to do it after taking a picture/upload from photo library.
How do I allow user to pick a portion of their photo to be their cover photo(example from the screenshot below)?
[
Related
This article is a great tutorial for creating custom photo album. However, it only sets the first photo as the album cover. I would like to set the latest saved photo as cover, just like the Camera Roll. Is there any API to do that?
There is no custom method to do that. The album cover is set automatically and represents the last photo assigned to the album.
Go into the iOS album you want to set the cover picture. Long press on the image you want to set as cover and slide it (move it) to make it the first picture of the album. That first picture is going to be the cover picture of the album.
I need to get a way to be able to have "Likes" from an image inside an app be equivalent to Likes on an album.
For example, if image1 is liked in the app, then the album containing image1 also gains that like.
Is this even possible?
you can use the plugin like button
here the link
I added my image in /var/mobile/Media/DCIM/100APPLE. I want my image can be shown by Photos app. However I didn't see.
I wrote image to this directory but Photos app didn't see it
How to make Photos app show the images I create in my application.
I would like to require that all photos taken with my iPhone app are square, similar to the way Instagram handles their photos, but without the filters. I can obviously enable editing which would allow users to crop photos to a square but how do I set up my image picker so the user is REQUIRED to create a square photo?
You can't force it to take a square photo.
You would have to trim the UIImage yourself as part of your delegate method from the image picker.
I need to perform to operations:
Allow user see all available albums and pick a picture from one of them.
Select specific area of the picture of a specific size.
I do know how to pick an image using UIImagePicker, but i can't see all albums and can't crop specific area.
Setting the sourceType on your UIImagePickerController to UIImagePickerControllerSourceTypePhotoLibrary allows for selecting from all the images on the device (I don't remember if they will be divided by album or displayed in one huge list).
You can have UIImagePickerController provide a cropping interface by setting allowsEditing.