Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyro2927/gklphotofetcher
Quick and easy way to get photos from iOS devices
https://github.com/pyro2927/gklphotofetcher
Last synced: about 17 hours ago
JSON representation
Quick and easy way to get photos from iOS devices
- Host: GitHub
- URL: https://github.com/pyro2927/gklphotofetcher
- Owner: pyro2927
- License: other
- Created: 2013-01-14T17:58:12.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-08-27T15:30:25.000Z (about 11 years ago)
- Last Synced: 2023-04-12T16:22:18.773Z (over 1 year ago)
- Language: Objective-C
- Size: 97.7 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Quick and easy way to get photos from iOS devices!
## Device Detection
GKLPhotoFetcher automatically detects if the current device has a camera available or not. If a camera is available, a UIActionSheet will be presented to the user to allow them to pick which photo source they want to use. If a camera is not available, they will be brought directly into their Photo Library.## Implementation
Call the PhotoFetcher like this:[GKLPhotoFetcher fetchPhotoWithDelegate:self andNavigationController:self.navigationController];
And make sure to receive the delegate callback like this:- (void)photoFetcher:(id)fetcher returnedImage:(UIImage*)image{
[imageView setImage:image];
}
That's it!