Helps you quickly take a picture or video like this:
- Make a
FDTakeController
and call- (void)takePhotoOrChooseFromLibrary
- Implement
FDTakeDelegate
and handle- (void)takeController:(FDTakeController *)controller gotPhoto:(UIImage *)photo withInfo:(NSDictionary *)info
- Implement anything else you want in
FDTakeController.h
- See if device has camera
- Create action sheet with appropriate options ("Take Photo" or "Choose from Library"), as available
- Localize "Take Photo" and "Choose from Library" into user's language
- Wait for response
- Bring up image picker with selected image picking method
- Default to selfie mode if so configured
- Get response, extract image from a dictionary
- Dismiss picker, send image to delegate
- Works with photo and videos; the camera and photo roll; iPhones, iPods and iPads
- Supported languages:
- English
- Chinese Simplified
- Turkish (thanks Suleyman Melikoglu)
- French (thanks Guillaume Algis)
- Dutch (thanks Mathijs Kadijk)
- Chinese Traditional (thanks Qing Ao)
- German (thanks Lars Häuser)
- Russian (thanks Alexander Zubkov)
- Norwegian (thanks Sindre Sorhus)
- Arabic (thanks HadiIOS)
- Polish (thanks Jacek Kwiecień)
- Spanish (thanks David Jorge)
- Hebrew (thanks Asaf Siman-Tov)
- Danish (thanks kaspernissen)
- Sweedish (thanks Paul Peelen)
- Portugese (thanks Natan Rolnik)
- Please help translate
FDTake.strings
to more languages
- Works on iOS 4 or above, but requires ARC