Skip to content

Text is not visible with indicator  #38

Open

Description

@zeshanarif

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 ?

Activity

  1. lfarah commented on Oct 7, 2016

    @lfarah
    Collaborator

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

  2. lfarah commented on Nov 18, 2016

    @lfarah
    Collaborator

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

  3. blkbam commented on Jan 25, 2017

    @blkbam

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions