Skip to content

Commit

Permalink
updated README for recently merged pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Shilling committed Sep 17, 2015
1 parent cfdeda5 commit f45be34
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A React Native module that allows you to use the native UIImagePickerController
## Install
1. `npm install react-native-image-picker@latest --save`
2. In the XCode's "Project navigator", right click on your project's Libraries folder ➜ `Add Files to <...>`
3. Go to `node_modules``react-native-image-picker` ➜ select the `UIImagePickerManager` folder **make sure you have 'Create Groups' selected when adding the folder**
3. Go to `node_modules``react-native-image-picker` ➜ select the `UIImagePickerManager` folder **Make sure you have 'Create Groups' selected**
4. Make sure `UIImagePickerManager.m` is listed under 'Compile Sources' in your project's 'Build Phases' tab
5. Compile and have fun!

Expand All @@ -28,6 +28,11 @@ var UIImagePickerManager = require('NativeModules').UIImagePickerManager;
takePhotoButtonHidden: false,
chooseFromLibraryButtonTitle: 'Choose from Library...',
chooseFromLibraryButtonHidden: false,
customButtons: {
'Choose Photo from Facebook': 'fb', // [Button Text] : [String returned upon selection]
},
maxWidth: 100,
maxHeight: 100,
returnBase64Image: false,
returnIsVertical: false,
quality: 0.2
Expand Down

0 comments on commit f45be34

Please sign in to comment.