Skip to content

Commit b5a2923

Browse files
committed
chore: update README
1 parent fbf0517 commit b5a2923

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,20 +126,11 @@ context
126126
| prompt | iOS | undefined | Display prompt text when selecting assets. |
127127
| numberOfColumnsInPortrait | iOS | 4 | Set the number of columns in Portrait orientation. |
128128
| numberOfColumnsInLandscape | iOS | 7 | Set the number of columns in Landscape orientation. |
129+
| mediaType | iOS | Any | Choose whether to pick Image/Video/Any type of assets. |
129130
130131
* authorize() - request the required permissions.
131132
* present() - show the albums to present the user the ability to select images. Returns an array of the selected images.
132133
133-
### Image properties
134-
135-
Once image is picked some options can be applied to it before it is used:
136-
137-
| Option | Default | Description |
138-
| --- | --- | --- |
139-
| maxWidth | null | Image max width |
140-
| maxHeight | null | Image max height |
141-
| aspectRatio | fit | iOS only. Possible values are `fit` and `fill`. [Read more](https://developer.apple.com/documentation/photos/phimagecontentmode) |
142-
143134
## Contribute
144135
We love PRs! Check out the [contributing guidelines](CONTRIBUTING.md). If you want to contribute, but you are not sure where to start - look for [issues labeled `help wanted`](https://github.com/NativeScript/nativescript-imagepicker/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22).
145136

0 commit comments

Comments
 (0)