iPad Photo Gallery Framework - ios

I am looking for some framework that allows me to create a Photo Gallery that allows the user to swipe through pictures, and then select one and it takes them to a specific view based on that image. I seen this idea in another App, and didnt know if this was an open source framework, or if there is anything similar.

I wrote a library that should be able to handle this:
https://github.com/nicklockwood/iCarousel
Check out the "custom" or "time machine" carousels in the example app for something similar to what you've shown.
Here's a screenshot. Don't worry that it's not exactly the same as your picture; the angle, panel size, etc. can all be configured.

Related

iOS: SDK for viewing photos of your own album

I basically want the ability to check first within two specific dates if a user has taken any pictures on his phone. If so, if he clicks a button in my app the photo viewer (ideally exactly the same as used in the Photos app) should be opened and only these pictures/videos should be displayed. Then the user can look at them, share them, basically also the exact same functionality as the Photos app offers. But how can I do that? So far it seems I would have to code this completely from scratch, since I don't want the user to "pick" any picture but just look at them, share them etc. Or is there any SDK for this?

iOS Image Viewer like Photo app

I am developing an app that has an internal gallery with some images.
What I want to achieve is exactly a result that behaves and looks like the Apple Photo app image viewer.
With a collection view I implemented the gallery images with thumbnails and now I would like to show the image on fullscreen on press.
The image viewer should have exactly the Apple's Photo behavior:
Full screen on single tap,
Delete, Share button etc...
Pinch to zoom, double tap zoom...
My question is. Is that really possible that such a common feature is not already given by iOS? Is there maybe a view controller already build in that we can use but I am not aware of?
I know there are some libraries around that make such thing, but I'm wondering if there's already something given.

Load picture with native photo viewer

I've been looking around and I just couldn't find anything that really fits my (very simple) needs.
I have a UIImage (as a NSData, then file, then image) that is displayed, and I'd like to be able to tap it and display the native "show", that has the little box & arrow icon where you can decide wether you wanna save the picture, or share it by mail, facebook, twitter, and so on.
Wherever i've looked I only found a great looking framework that clearly overkills my needs, or confusing information about PHAssets and PHImageManager.
I do not need to browse multiple photos, nor to see photos from albums. I just need to see my picture with the native "Share" button (box with outgoing arrow) and the native layout.
Is there such a thing available ? Without having to download a framework? Or should I just use the 5% of MWaterfall that i need?

Using UIImagePicker in a tabbed UIPopover

I am developing an iPad app that needs to have multiple image sources, on the device/Photo Albums, remote and some included with the app. Now the ideal situation would be to have a UIPopover controller with 3 tabs for each source. The only problem is I can't seem to figure out how to have a UIImagePicker be in its own tab. What I am trying to do is very similar to Apple's Keynote for iPad. The photo icon's popover has tabs and the far left tab called media for sure has a UIImagePicker in there. I have no idea how they did that, is it possible for me to do something like that? I think the main issue is that the Image Picker is it's own navigation controller and it cannot be pushed on to another navigation controller. Any help would be greatly appreciated!
check out this - https://github.com/key1jp/ELCImagePickerController
you can implement it with custom asset library
The built-in image picker is no good.
Create your own image picker and add it to your navigation controller as a normal view. Start from either the Matt Tuzzolo or the MyImagePicker from the WWDC 2010 sample code. Note that you probably want to add image and video preview - I copied the image viewer from MyImagePicker and added a 'add' or 'remove' button to it, and the same for video.
Your image picking is in two steps, one for selecting the group, and one for selecting the assets within the group. I recommend dividing the first step into a two - if there is only one, then go directly to that group, i.e. when you have found the first group, check whether that group was the last (block stop argument). Then push the right view controller.
Obiously modify the size of the thumbnails also, they are iPhone size now. Adding a line of metadata (icon and duration) looks much nicer and is more informative for video.
I also recommend adding a 'click-and-hold' function for extended information after like 2 seconds.
Handle different sources by creating a protocol which gives you what you want, i.e.
-(BOOL)isImageAtIndex:(NSInteger)index;
-(UIImage*)thumbnailForUndex:(NSInteger)index;
-(void)setSelectedAtIndex:(NSInteger)index;
Creating a source which handles local files, included resources and assets is perfectly possible - I use NSURLs and check on the url scheme.
Are you not using UITabBarController for your tabs? You should be able to add a UIImagePickerController directly to viewControllers. I'm not sure whether that is a supported use of the image picker, though; the documentation only mentions displaying it modally or displaying it in a UIPopoverController.
It's not usually useful to look at an Apple app to find out what you can do with various built-in controls, as Apple allows themselves to use private APIs.

Is there a photo display control available for ipad?

Like a photo gallery control, where you can load and display pictures in thumbnails, and then tap on them, and see full image, zoom in/out?
The three20 library has a photo viewer that mimics the iPhone's photo viewer:
http://github.com/facebook/three20
Specifically the TTPhotoViewController class.
Since nobody replied, gonna give my answer, which is no. There is no such control available as of today unfortunately. Also the photos app slider is nice, would like to see some more controls like that.

Resources