EZLoadingActivity icon indicating copy to clipboard operation
EZLoadingActivity copied to clipboard

Text is not visible with indicator

Open zeshanarif opened this issue 9 years ago • 3 comments

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 ?

zeshanarif avatar Oct 07 '16 08:10 zeshanarif

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

lfarah avatar Oct 07 '16 15:10 lfarah

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

lfarah avatar Nov 18 '16 10:11 lfarah

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...
    }
}

`

blkbam avatar Jan 25 '17 17:01 blkbam