Skip to content

This is a Sample to capture image or video from iOS device.As of now It is capable to capture the image but very soon will update it with video shooting feature too

License

Notifications You must be signed in to change notification settings

fesp21/MediaPicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaPicker

This is a Demo app to to capture image/video from iOS device.As of now it is only capable to capture the image As i will done with the Video recording will update it.

To Integrate this just drag and drop that single file ImageVideoPicker.swift into your project and make a call as below.

define Property of ImageVideoPicker from where you want ot use it..

  func intializePhotoPicker(sender:AnyObject){
   
    if(self.mediaPicker == nil){
        
    self.mediaPicker = ImageVideoPicker(frame: self.view.frame, superVC: self, completionBlock: { (isFinshed) ->           Void in
        if(isFinshed != nil){
            NSLog("Image captured properly")
        //Update the data Source
        }
        else
        {
            NSLog("Failure in image capturing")

        }
       })
    self.mediaPicker?.showImagePickerActionSheet(sender)
     
}

About

This is a Sample to capture image or video from iOS device.As of now It is capable to capture the image but very soon will update it with video shooting feature too

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%