
You should now have a basic understanding of how to send objecs besides text to a server - and how to retrieve them. The Show Latest Image button does a GET request to our server to retrieve the last image that was sent, converts it to a UIImage, and then displays it in our UIImageView. Enter a local hostname or a network address, then tap Connect. When you tap on Pick Image, you’re presented with a UIIImagePickerController that allows you to select an image from the Photos Library, and submits it to our backend after converting it to a Data object.

Here’s our app that has submitted an image to the server and pulled an image from the server to display. You completed ViewController should look like this one: A Finished Product
