ImagePickerTrayController is a component that replicates the custom photo action sheet in iMessage. It's the iOS 10 version of ImagePickerSheetController.
let controller = ImagePickerTrayController() controller.add(action: .cameraAction { _ in print("Show Camera") }) controller.add(action: .libraryAction { _ in print("Show Library") }) controller.show(in: view) imagePickerTrayController = controller
I wouldn't recommend using this library just yet. It's still WIP
ImagePickerTrayController is written in Swift and links against Photos.framework. It therefore requires iOS 8 or later.
I'm Laurin Brandner, I'm on Twitter.
ImagePickerTrayController is licensed under the MIT License.
