I would like to store severals photos like photo application, however i don't know exactly the objects what i need. If anyone know how to implement this way i'm interested.
A link to give you an idea: http://blog.photobox.fr/wp-content/uploads/2010/07/Album-iPhone5.jpg
thank you in advance.
You can try the PhotoViewer provided in three20 framework. It is exact replica of the Photos app of iPhone, if that's what you're looking for. You can find a tutorial here.
go to this link it help u
https://github.com/kirbyt/KTPhotoBrowser
Having spoken to an Apple engineer on some of the optimizations that they went through on the Photos app, I can give you a couple of tips:
They never display back the original photo. Because of a photo's size, they only take the original photo and save off a number of optimized thumbnail images.
The example image you show does not contain a series of thumbnail images. Each row is actually a single image. For selection, an overlay is placed in the exact size and dimension of the thumbnail image to give the impression that you are selecting a particular image. This could be accomplished by using a table view, but it more likely just a scroll view.
Related
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.
hi i am new to iPhone. what i need is i have to create a gallery of images and that gallery consist only single row with group of images from the local folder in the project.And the images are shown as slide show. like for example 0,1,2,3,4,5 are images then they can appear like 0,1,2,3,4,5,0,1,2,...... how can i done is there any predefined applications like this or examples are there pls post link or code. thank u in advance.
You should take a look at the UIScrolleView class. It should help you to do your gallery ;-)
And add in the scrollView UIImageView to show images.
If you are searching for codes, take a look at http://github.com/facebook/three20 which (If i remember correctly), implements something like that.
Good Luck !
I am looking to replicate the image gallery view that shows thumbnails, like in the photos app on the iPhone.
Is there a view controller or any examples that anyone can provide to replicate this?
There isn't one provided by Apple. I would recommend looking at Three20. It has a few things with look a lot like the Photos app.
Another option is AQGridView.
Take a look at the video of Session 104 from the WWDC 2010. It's basically a 40 minute tutorial on how to do the photo app.
Bear in mind that allowing users to zoom will greatly increase the space required. If you use CATiledLayers, that is, which, depending on your desired zoom level, you should consider doing.
Oh, and there is source code ;)
What they don't tell you is how they did their tiling. I found that you can
a) download ready-made tiles from the server with the app or with a content update (you can use ImageMagick's crop tileWidthXtileHeight - e.g. crop 100x100 - to do the tiling). This has the disadvantage of large downloads.
b) download ready-made tiles from the server as needed (may lead to lags in your app, but then MKMapView does it quite nicely, doesn't it?)
c) tile on the phone as needed (here you can also consider caching the results, although that will likely mean you have to check space left on the device)
I've recently given enormego's PhotoViewer a try. It's easy to use, and it's much more focused than the Three20 project. (Which I also use and like a lot.)
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
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.