---
title: "#215: Collecting Photos with Fusuma 📸"
url: https://littlebitesofcocoa.com/215-collecting-photos-with-fusuma
author: Jake Marsh
date: 2016-03-18
published: 2016-03-18
topics: ["Images","Libraries"]
description: "We've looked at allowing users to capture or choose images for use in our apps a couple times here. We learned about UIImagePickerController in Bite #83 and..."
---

# #215: Collecting Photos with Fusuma 📸

By Jake Marsh, March 18, 2016. HTML: https://littlebitesofcocoa.com/215-collecting-photos-with-fusuma

We've looked at allowing users to capture or choose images for use in our **apps** a couple times here. We learned about  **UIImagePickerController** in [Bite #83](https://littlebitesofcocoa.com/83) and then [ImagePicker](https://github.com/hyperoslo/ImagePicker) in [Bite #157](https://littlebitesofcocoa.com/157).

Today we've got a new contender in this space called [Fusuma](https://github.com/ytakzk/Fusuma). It's by [Yuta Akizuki](https://github.com/ytakzk) and aims to provide a very full-featured drop-in solution for this task. Let's try it.

We'll start by presenting the main **FusumaViewController**:

``` swift
let fusuma = FusumaViewController()
fusuma.delegate = self

self.presentViewController(fusuma, animated: true, completion: nil)
```

Then later we conform to the **FusumaDelegate** **protocol**:

``` swift
func fusumaImageSelected(image: UIImage) {
	imageView.image = image
}
```

There's also `fusumaDismissedWithImage` and `fusumaCameraRollUnauthorized` functions for handling those cases.

<center>
<img src="https://media.littlebitesofcocoa.com/bite-assets/215-collecting-photos-with-fusuma-gif.gif" style="max-width: 320px;" />
</center>

More info about _Fusuma_ can be found at [git.io/fusuma](https://git.io/fusuma)
