Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Allow CameraViewController to be used in a navigation stack without losing completion #271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SuperWes
Copy link

When the CameraViewController is on a Navigation Stack, a picture is taken, and a new ViewController is pushed on the stack, when you hit back to return to the CameraViewController, the completion no longer exists and can no longer be called, making it impossible to leave the CameraViewController. We removed clearing out the completion blocks. This should be ok and not leave retain cycles because the presenting CameraViewController has the only reference to the completion.

@Tulleb Tulleb force-pushed the master branch 2 times, most recently from 3d556d8 to 2cd2215 Compare October 16, 2019 13:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants