Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

background color not changing #62

@cs14rendra

Description

@cs14rendra

I am running swift demo app , background color showing black . In another project , i am calling it in a observer and When app coming from background then at that time only background color is showing change .
NSNotificationCenter.defaultCenter().addObserverForName(UIApplicationDidEnterBackgroundNotification, object: nil, queue: NSOperationQueue.mainQueue()) {_ in

        if (dataViewController().getpass() == "")
        {  
            self.setPin() // here I am calling set pin screen 

        }else{

            self.lockApp()   // here i am calling to unlock screen 


        }

In one Line - In observer it is working but as a normal code it is not working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions