Latest 3.0.3
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit

A WeiXin like multiple image and video picker which is compatible for iOS7+.You can use either ALAssetsLibrary or Photos framework by setting the source of MTImagePickerController.




  • iOS7.0+
  • Build success in Xcode 9.2 Swift 4.0


  • There is no ohter dependency in MTImagePicker.Recommanded Simply drag the MTImagePicker/MTImagePicker folder to your project.
  • MTImagePicker is also available through CocoaPods. However using CocoaPod in Swift project required dynamic framework therefore iOS8.0+ is needed.To install it, simply add the following line to your Podfile:
    source ''
    platform :ios, '8.0'
    pod 'MTImagePicker', '~> 3.0.2'


  • The MTImagePicker is similiar to UIImagePickerController.It’s easy to use the image picker following the sample code in demo like below
    let imagePicker = MTImagePickerController.instance
    imagePicker.mediaTypes = [MTImagePickerMediaType.Photo,MTImagePickerMediaType.Video]
    imagePicker.imagePickerDelegate = self
    imagePicker.maxCount = 10 // max select count
    imagePicker.defaultShowCameraRoll = true // when set to true would show Camera Roll Album like WeChat by default. 
  • You can use either ALAssetsLibrary or Photos framework by setting the source of MTImagePickerController
    //default is MTImagePickerSource.ALAsset
    imagePicker.source = MTImagePickerSource.ALAsset
    //imagePicker.source = MTImagePickerSource.Photos (Work on iOS8+)
  • Call presentViewController
    self.presentViewController(imagePicker, animated: true, completion: nil)
  • Implement the delegate method accordding to the source.

    @objc protocol MTImagePickerControllerDelegate:NSObjectProtocol {
    // Implement it when setting source to MTImagePickerSource.ALAsset
    optional func imagePickerController(picker:MTImagePickerController, didFinishPickingWithAssetsModels models:[MTImagePickerAssetsModel])
    // Implement it when setting source to MTImagePickerSource.Photos
    @available(iOS 8.0, *)
    optional func imagePickerController(picker:MTImagePickerController, didFinishPickingWithPhotosModels models:[MTImagePickerPhotosModel])
    optional func imagePickerControllerDidCancel(picker: MTImagePickerController)


  • Add Albums selecting support. Done.

Latest podspec

    "name": "MTImagePicker",
    "version": "3.0.3",
    "summary": "A WeiXin like multiple image picker for iOS7+.",
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "description": "A WeiXin like multiple image/video picker using ALAssetsLibrary and compatible for iOS7 and higher",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Luo": "[email protected]"
    "source": {
        "git": "",
        "tag": "3.0.3"
    "frameworks": "UIKit",
    "source_files": [
    "resource_bundles": {
        "MTImagePicker": "MTImagePicker/MTImagePicker/**/*.{png,jpeg,jpg,storyboard,xib,xcassets}"
    "pushed_with_swift_version": "4.0"

Pin It on Pinterest

Share This