EZLoadingActivity icon indicating copy to clipboard operation
EZLoadingActivity copied to clipboard

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

Open Sweeper777 opened this issue 5 years ago • 1 comments

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?

Sweeper777 avatar Jun 29 '19 11:06 Sweeper777

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

Esqarrouth avatar Jun 29 '19 17:06 Esqarrouth