Skip to content

i wanted to know the current visible view controller #23

Description

@arshadsk5

I have two view controllers VC1 and VC2, Both are loaded at the same time in background. Api's of both the screens are also loaded at the same time in background.
I wanted to load only one view controller at a time and i have to load another view controller only when i moved to that particular view controller.
I have a scenario, if there is no internet connection i need display a alert popup, on dismiss i need to call that particular view controller's api. But as of now both the view controllers are being loaded, i am getting two alert popups at a time.

Please help me, thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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