EZLoadingActivity
EZLoadingActivity copied to clipboard
Feature Request: Optionally show the loading activity as a subview of the window?
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 inshow
. 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 calledshowAsSubviewOfWindow
. This won't break existing code.
Do you think this is a good idea?
Good idea, but repo isn't actively being maintained anymore