Skip to content

KRProgressHUD.dismiss() sets rootViewController to KRProgressHUDViewController #63

@SlavcoPetkovski

Description

@SlavcoPetkovski

Hi.

When i dismiss KRProgressHUD the rootViewController is still set to KRProgressHUDViewController. Is there any work-around to inherit my old value before setting it? If I check the dismiss method this is done:
if self.presentingViewController != nil { self.hudViewController.willMove(toParent: nil) self.hudViewController.view.removeFromSuperview() self.hudViewController.removeFromParent() self.presentingViewController = nil self.window.rootViewController = self.hudViewController }

so at the end the rootViewController is set again to self.hudViewController.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions