Closed mustafaibrahim989 closed 7 years ago
Hey, whats the purpose of this feature?
Sometimes you want to add the loading activity over the application window to be at the top most layer. for example if you present a modal VC and you need to show the loading from the presenting VC.
Can this pull request be resolved, because this would also fix the loading indicator for split view controllers. Now it's hidden:
I would only change line 155: UIApplication.sharedApplication().windows.first?.addSubview(self)
to UIApplication.sharedApplication().keyWindow?.addSubview(self)
.
I also don't see why you wouldn't just always use the window, because that always works.
There are merge conflicts, can you resolve it and resubmit this?
@goktugyil I've fixed the conflicts. You can merge now 👍
Hey @mustafaibrahim989, I'm so sorry.... Been working a lot on Swit 3 migrations and I just found this PR.... Would you be able to fix the conflicts once I port the Swift 3 of this library?
@lfarah I've fixed the conflicts. You can merge 👍
Thanks 👍
Would you mind adding this to readme?
Sure
-- Add an option to show the loading activity to application window -- Xcode 7.3.1 support