Skip to content

Feature Request: Optionally show the loading activity as a subview of the window? #51

Open

Description

@Sweeper777

Currently, the LoadingActivity view seems to be added as a subview of the topViewController. This means that I cannot show the loading activity, and keep it showing while I perform a segue that goes to another VC.

I think adding the loading activity as a subview of the window should fix this, but this would not work if the view controller is not full screen (see #23). Therefore, I think it would be best to provide an option to add the loading activity to the window.

Either:

  • Accept a UIViewController? parameter in show. When this is nil, show the loading activity in the window, otherwise show it as a subview of the view of the VC, or
  • Accept a Bool parameter called showAsSubviewOfWindow. This won't break existing code.

Do you think this is a good idea?

Activity

  1. Esqarrouth commented on Jun 29, 2019

    @Esqarrouth
    Owner

    Good idea, but repo isn't actively being maintained anymore

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions