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: src/fragments/lib/storage/ios/download.mdx
+5-5
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ There are three ways of getting data that was previously uploaded:
4
4
5
5
You can download to in-memory buffer [Data](https://developer.apple.com/documentation/foundation/data) object with `Amplify.Storage.downloadData`:
6
6
7
-
####With StoragePath
7
+
### With StoragePath
8
8
<BlockSwitcher>
9
9
10
10
<Blockname="Async/Await">
@@ -48,7 +48,7 @@ let resultSink = downloadTask
48
48
49
49
</BlockSwitcher>
50
50
51
-
####With Key (Deprecated)
51
+
### With Key (Deprecated)
52
52
<BlockSwitcher>
53
53
54
54
<Blockname="Async/Await">
@@ -96,7 +96,7 @@ let resultSink = downloadTask
96
96
97
97
You can download to a file [URL](https://developer.apple.com/documentation/foundation/url) with `Amplify.Storage.downloadFile`:
98
98
99
-
####With StoragePath
99
+
### With StoragePath
100
100
<BlockSwitcher>
101
101
102
102
<Blockname="Async/Await">
@@ -158,7 +158,7 @@ let resultSink = downloadTask
158
158
159
159
</BlockSwitcher>
160
160
161
-
####With Key (Deprecated)
161
+
### With Key (Deprecated)
162
162
<BlockSwitcher>
163
163
164
164
<Blockname="Async/Await">
@@ -296,4 +296,4 @@ downloadTask.resume()
296
296
297
297
Download tasks are run using `URLSessionTask` instances internally. You can learn more about them in [Apple's official documentation](https://developer.apple.com/documentation/foundation/urlsessiontask).
0 commit comments