I am trying to apply a custom filter that user may swipe through when using app however when I try & apply custom filter it is not applied to screen, I have tried several different methods & it works successfully in example project, however not in my project. I am using a custom camera to record video then creating AVAsset from the URL. All other filters work except this one. Here is code
I am trying to apply a custom filter that user may swipe through when using app however when I try & apply custom filter it is not applied to screen, I have tried several different methods & it works successfully in example project, however not in my project. I am using a custom camera to record video then creating AVAsset from the URL. All other filters work except this one. Here is code
override func viewDidLoad() { super.viewDidLoad() self.view.backgroundColor = UIColor.gray asset = AVAsset(url: videoURL)
}
then I call the play method here override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated)