Downloading an Object Body
The following sample code shows how to download an object body with the transfer-at-once method.
Swift:
-
-
Objective-C:
-
-
Here is what is happening in the sample code:
- Create a
KiiObject
instance
- Create a reference to the target file (myImage.jpg).
- Start downloading by calling the
downloadBody(withURL:andCompletion:_:)
method.