Awalz / SwiftyCam

A Snapchat Inspired iOS Camera Framework written in Swift
BSD 2-Clause "Simplified" License
2.08k stars 327 forks source link

camera switch is not working after clicked video. Unresponsive Blue screen #221

Open hiteshborse12 opened 4 years ago

hiteshborse12 commented 4 years ago

The camera switch is not working after the record video. I just see an image with a blue screen and everything becomes unresponsive. Any way to fix this? Steps:

  1. Click video.
  2. Dismiss VideoViewController.
  3. Switch camera Here you will see a blue screen.

Device : iPhone X iOS: 13.2.3 Demo video : https://drive.google.com/file/d/1RGRJNWr_NGIxpt9llaEKroe4OUsSqcA-/view?usp=sharing

mbesnili commented 4 years ago

Hello @hiteshborse12 ,

Did you find any solution to this problem ?

mbesnili commented 4 years ago

Quick fix to problem.

present VideoViewController and PhotoViewController with modalPresentationStyle set to fullScreen in ViewController.swift

It's related to view cycle methods as viewDidxxxx method no longer getting called when presenting.

hiteshborse12 commented 4 years ago

Thanks @mbesnili , I will check.

jainpalak95 commented 3 years ago

Quick fix to problem.

present VideoViewController and PhotoViewController with modalPresentationStyle set to fullScreen in ViewController.swift

It's related to view cycle methods as viewDidxxxx method no longer getting called when presenting.

I did the same thing but it's not working. can you please confirm?

jainpalak95 commented 3 years ago

Thanks @mbesnili , I will check.

hi, did you find the solution?

hiteshborse12 commented 3 years ago

@jainpalak95 Sorry but I don't have source code. I think i deinit all variables and re-initialized all instances..