Skip to content

Attempting to load the view of a view controller while it is deallocating is not allowed #34

@adriancable

Description

@adriancable

Using the WebAuthenticationSession example, verbatim, from the README, on iOS 15.4.

When the popup appears on the device saying "Test App" Wants to Use "github.com" to Sign In, press Cancel on device. The following warning is then produced in the Xcode console:

2022-03-19 10:04:38.212806-0700 Test App[38555:3159860] [Warning] Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior (<SFAuthenticationViewController: 0x7f9a1481da00>)

Ideas how to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions