Skip to content

IslamAbdelAziz/iA-MediaManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimum Support iOS Version = iOS 11

Swift 5

How To Use

    MediaManager.shared.addMedia(vc: self)
    MediaManager.shared.imageHandlerBlock = { (image) in
        self.imgView.image = image
    }
    
    MediaManager.shared.videoHandlerBlock = { (videoURL) in
        print("Video URL:  \(videoURL.absoluteString)")
    }
    
    MediaManager.shared.fileHandlerBlock = { (fileURL) in
        print("Video URL:  \(fileURL.absoluteString)")
    }

You can Choose Media Options as Follows:

    MediaManager.shared.addMedia(vc: self, getPhotos: true, getVideos: false, getFiles: false, getCamera: true)

Repo in Github

==> https://github.com/IslamAbdelAziz/iA-MediaManager

References

https://medium.com/@deepakrajmurugesan/swift-access-ios-camera-photo-library-video-and-file-from-user-device-6a7fd66beca2

About

This is a Framework to help you access Photo Library, Camera, Video and Files in your iPhone while Developing iOS Apps using Swift

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages