You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-10Lines changed: 1 addition & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -126,20 +126,11 @@ context
126
126
| prompt | iOS | undefined | Display prompt text when selecting assets. |
127
127
| numberOfColumnsInPortrait | iOS | 4 | Set the number of columns in Portrait orientation. |
128
128
| 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. |
129
130
130
131
* authorize() - request the required permissions.
131
132
* present() - show the albums to present the user the ability to select images. Returns an array of the selected images.
132
133
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
-
143
134
## Contribute
144
135
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).
0 commit comments