[Solved] convert this code to swift [closed]


Your complete code in swift.

func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: Dictionary) {
        self.videoURL = info[UIImagePickerControllerMediaURL]
        picker.dismissViewControllerAnimated(true, completion: nil)
        self.videoController = MPMoviePlayerController()
        self.videoController.contentURL = self.videoURL
        self.videoController.view.frame = CGRectMake(0,0,self.view.frame.size.width,460)
        self.view.addSubview(self.videoController.view)
        self.videoController.play()

    }

2

solved convert this code to swift [closed]