photo album like controls - iphone

I am making a camera app a where user can make videos and take pictures. What I am doing is I am saving all the movies and pictures in my apps document directory. I don't want to automatically save them to users photo album. What I would like to present to the user is view that behaves similar to how Photo Album works meaning I would like to show him all the movies and pictures he has taken and give him buttons to check and save the ones he like and delete the ones he wants to discard.
Now here's my question, Do I create a custom uitableview, present small cropped resized pictures, add uitoolbar at the bottom and add my own custom "Save", "Discard" and "preview image/Video" buttons or is there already something available ootb in iOS 5 Xcode 4.2 that I can use?
I have searched cocoa controls website and found many image Picker controls but none that work like as simple "save to photo album", "delete photo" or "Preview Photo / Video" features. Is there any sample control available that I can use and probably extend it? Trust me I have been googling for a while now
Looking for something like this. The people who made this, are they using UITableView or UICollectionView or neither?

If you're willing to go to IOS 6, you could try this tutorial (2 parts):
http://www.raywenderlich.com/22324/beginning-uicollectionview-in-ios-6-part-12
http://www.raywenderlich.com/22417/beginning-uicollectionview-in-ios-6-part-22

Found it. Here is a very cool sample project
https://github.com/kirbyt/KTPhotoBrowser

Starting with iOS 14, this is now available in the new Photos picker.

Related

Is it possible to change the album of a photo in the camera roll?

I would like to take a photo from the Camera Roll and assign it to a certain album. I don't want to delete the photo, I just want to change that little tiny attribute in which album it belongs.
According to the AlAsset Class Reference, photos are only editable if they were created by my own app. Does this mean that I can't change their album?
Would the only way to assign a photo to an album to make a duplicate of it, as suggested in this post? Is there anyway to not make a duplicate of a photo and just put it into an album?
If I put photos from my camera roll into albums or events with iPhoto on my Mac, they will disappear from the camera roll. Is there any way to do the same via the iOS SDK?
I hope i understand your question corectly, but I think the best way to do it would be to save the taken photo in a custom album. Martin tudorov has written a tutorial on this subject which I find very useful. It is designed for iOS 5 but I don't think there is much of change and you can tweak it for iOS 6 if you want. There is a sample project as well. Anyway here is the link to the tutorial which explAns it all and I hope it helps you solve your issue.
http://www.touch-code-magazine.com/ios5-saving-photos-in-custom-photo-album-category-for-download/
noļ¼Œthere is no way. But you can do it by using private API.

Is there a viewcontroller to make current photo or image a wallpaper using the standard Action?

I've spend an inordinate amount of time searching for a view-controller that will bring up the UIActionSheet to make the current picture the wallpaper (similar to the one used to send an image in an email: MFMessageComposeViewController). I noticed that in the developer.apple.com iOS library documentation not a single doc comes up if I just type the word "wallpaper" Furthermore, I've read that there are no Apple-approve methods of setting the lock-screen, for example, programmatically.... But I thought that there would be an ActionSheet delegate that would allow us to make a photo in an App, other than Settings and Photos (or Camera), a wallpaper-- in my case I want to make it the Lock-screen.
There are methods to mail the photo, print it, and MMS (I think), but is there just no "approved" way to go into the "Use as Wallpaper" action sheet dialog from apps other that Apple apps? Leaving us with the option of just telling the use to navigate out of the current app and use either Settings or Photos (if we save the current photo to the Camera Roll or Photo Library) ...
What say you? Any leads or hints on how to accomplish this will be greatly appreciated.
No there is no such kind of functionality available in iOS SDK. You need to save photo in photo album then from only default photos application a user can set a photo as wallpaper.

Photo browser with previous and next button , how?

I want to make a gallery with previous and next button in my iPhone app.
If anyone has idea , link , exampler or something that lead me to implement the gallery please provide me .
I've written a simple and easy to use photo browser called MWPhotoBrowser. I decided to create it as Three20, while very good, was too heavy/bloated as all I needed was a photo viewer.
It is an implementation of a photo viewer that I wrote allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs images online. Photos can also be zoomed, panned, and navigated with previous/next buttons.
View MWPhotoBrowser on GitHub
Hope this helps!
Thee20 framework, they have a great gallery example

iPhone: Can I get an image picker to have the documents folder as its source

It looks like I cant create an album for my picture producing app in the photo library... so what I was going to do is save the images to the documents folder for my app, which I think should be easy enough. The issue though is that the image picker seems to only allow you to pick saved images or photo library as the source, and I would like users to be able to view all images created by my app. Is there a way to make the picker work or will I have to roll my own?
the image picker that apple provides only gives you access to pictures saved in the camera roll. It also gives you the functionality to take a new picture if you are on an iphone. If you save pictures in your app's local storage directory, then you need to build your own mechanism for viewing these photos. You may want to take a look at Joe Hewitt's 320 project - it has a lot of good controls that you may find useful.

How do I prompt a user to select an image on the iPhone?

I would like to allow the user to select one of several pre-supplied images. Is there a standard way to do this?
The only thing similar to this that is Standard would be the Image Picker control.
However for this to work you would have to add your images to the iPhone's image library and the user would have to pick them from out of all their other pictures.
What you need to do is build something similar.
You can go as easy or complex as you need/want.
I would go simple (as that is the idea of the iPhone) and have a scroll view (depending on the number of pictures you want) and load thumbnails of the images. When they select one, you do something with it. (Look at the view when you are looking in a photo album on the iphone)
I believe I have seen open-source representations of this before.
I would check google code.
I use a UITableView for this, with a thumbnail and description of the image they're choosing.