Text is not visible with indicator
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 ?
What version are you using?
Is this method on viewDidLoad()?
Can you send us a screenshot?
@zeshanarif any news on that? I would love to help
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...
}
}
`