Who is responsible for showing the SVProgressHud when show method called?

64 Views Asked by At

anywhere we can call SVProgress.show() to show the progress but specifically from where the progress presented ? who is responsible to display it? is the root view controller?

1

There are 1 best solutions below

1
Sharad Paghadal On

If you noticed in iOS developing, all our view controllers are presented or pushed to another view controller. But our main viewcontroller is presented on window of our app. same way if we are adding someview onto window, it will be independent from any viewcontroller. By the same way, any PregressView are presented onto window of our app.