Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daveluong authored Apr 9, 2019
1 parent 28d2ed4 commit 9ae0bf8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ let picker = ImagePickerController(selectedAssets: assets)
/// Asks the delegate if the image picker should launch camera with certain permission status.
func imagePickerController(_ picker: ImagePickerController, shouldLaunchCameraWithAuthorization status: AVAuthorizationStatus) -> Bool

/// Tells the delegate that picker has finished launching camera with an array of selected assets
@objc optional func imagePickerController(_ picker: ImagePickerController, didFinishLaunchingCameraWith assets: [PHAsset])

/// Tells the delegate that the user picked image assets. The delegate is responsible for dismissing the image picker.
func imagePickerController(_ picker: ImagePickerController, didFinishPickingImageAssets assets: [PHAsset])

Expand Down Expand Up @@ -88,6 +91,11 @@ let picker = ImagePickerController(
)
```

This functions will update `selectedAssets` property with new values and update the UI. It won't trigger any `delegate` callback
```
public func updateSelectedAssets(with assets: [PHAsset]) { }
```

## Documentation

### Pickle Reference
Expand Down

0 comments on commit 9ae0bf8

Please sign in to comment.