https://github.com/pyro2927/gklphotofetcher
Quick and easy way to get photos from iOS devices
https://github.com/pyro2927/gklphotofetcher
Last synced: about 1 year 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 (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-27T15:30:25.000Z (almost 13 years ago)
- Last Synced: 2025-07-07T21:36:17.040Z (about 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!