Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text is not visible with indicator #38

Open
zeshanarif opened this issue Oct 7, 2016 · 3 comments
Open

Text is not visible with indicator #38

zeshanarif opened this issue Oct 7, 2016 · 3 comments
Labels

Comments

@zeshanarif
Copy link

EZLoadingActivity.show("Updating Expense", disableUI: true)

i am using EZLoadingActivity to show indicator with text. But on some screen text is not visible with indicator. How can i resolve this issue ?

@lfarah
Copy link
Collaborator

lfarah commented Oct 7, 2016

What version are you using?
Is this method on viewDidLoad()?
Can you send us a screenshot?

@lfarah lfarah added the bug label Oct 7, 2016
@lfarah
Copy link
Collaborator

lfarah commented Nov 18, 2016

@zeshanarif any news on that? I would love to help

@blkbam
Copy link

blkbam commented Jan 25, 2017

I'm seeing the same thing. If you run something like the sample only the success/failure message is show. removing the hide does show it. Here's a simple sample I added to the sample project. The first message doesn't show at all unless i remove the hide. There is a 5 second delay between the two calls.

`

func doSomeTask()
{
    
    EZLoadingActivity.show("Busy...", disableUI: false)
    print("showing")

    doStuffWithoutClosure()
    print("hiding")
    let _ = EZLoadingActivity.hide(true, animated: true)

}

func doStuffWithClosure(complete: @escaping (Bool) -> Void)
{
    let date = Date() + 5 //seconds later

    while Date() < date
    {
        //do nothing
    }

    complete( true )
}

func doStuffWithoutClosure()
{
    let date = Date() + 5 //seconds later

    while Date() < date
    {
        //doing something...
    }
}

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants