Skip to content

Commit

Permalink
Bump podspec version.
Browse files Browse the repository at this point in the history
Remove extraneous exceptions from plist.
Update documentation.
  • Loading branch information
Kostas Karayannis committed Sep 17, 2015
1 parent 8e3d30f commit 8a2d37f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion FacebookImagePicker.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'FacebookImagePicker'
s.version = '2.0.3'
s.version = '2.0.4'
s.license = 'MIT'
s.summary = 'An image/photo picker for Facebook albums & photos modelled after UIImagePickerController'
s.author = { "Deon Botha" => "[email protected]" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbauth2</string>
<string>com.paypal.ppclient.touch.v1</string>
<string>com.paypal.ppclient.touch.v2</string>
<string>org-appextension-feature-password-management</string>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbshareextension</string>
</array>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
Expand Down Expand Up @@ -45,6 +35,13 @@
<string>189888614547873</string>
<key>FacebookDisplayName</key>
<string>Image Picker</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbauth2</string>
<string>fbapi</string>
<string>fb-messenger-api</string>
<string>fbshareextension</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ Implement the `OLFacebookImagePickerControllerDelegate` protocol:
```

**Set maximum number of selections**

Limit the number of assets to be picked.
```` objective-c
- (BOOL)facebookImagePicker:(OLFacebookImagePickerController *)imagePicker shouldSelectImage:(OLFacebookImage *)image
{
// Allow 10 assets to be picked
return (imagePicker.selected.count < 10);
}
````


### Sample Apps
The project is bundled with a Sample App to highlight the libraries usage. Alternatively you can see the library in action in the following iOS apps:

Expand Down

0 comments on commit 8a2d37f

Please sign in to comment.