You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...
}
}
Activity
lfarah commentedon Oct 7, 2016
What version are you using?
Is this method on
viewDidLoad()?Can you send us a screenshot?
lfarah commentedon Nov 18, 2016
@zeshanarif any news on that? I would love to help
blkbam commentedon 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.
`
`