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
+16-15
Original file line number
Diff line number
Diff line change
@@ -65,58 +65,59 @@ struct ContentView: View {
65
65
66
66
# Customization
67
67
68
-
### HTTP Headers
68
+
### Explicit Aspect Ratio
69
69
70
-
#### Availability: 1.0.15 or higher
70
+
#### Availability: 1.0.21 or higher
71
71
72
-
The remote image viewer allows HTTP headers to be included in the URL request. To use them, pass a dictonary to the httpHeaders field. The format should be [Header: Value], both strings.
72
+
An explcit image aspect ratio can be specified, which fixes an issue of incorrect stretching that occurs in certain situations. The `aspectRatio` parameter accepts `Binding<CGFloat>`
An explcit image aspect ratio can be specified, which fixes an issue of incorrect stretching that occurs in certain situations. The `aspectRatio` parameter accepts `Binding<CGFloat>`
96
+
To disable cache on the remote image viewer, simply pass a `Bool` value to the `disableCache` parameter
#### *DEPRECATED*: No longer available as of 2.0.0
118
119
119
-
To disable cache on the remote image viewer, simply pass a `Bool` value to the `disableCache` parameter
120
+
The remote image viewer allows HTTP headers to be included in the URL request. To use them, pass a dictonary to the httpHeaders field. The format should be [Header: Value], both strings.
0 commit comments