         
         //StatusBar background color
         
-        let statusBarBackgroundView = UIView.init(frame: CGRect.init(x: 0, y: 0, width: self.view.frame.width, height: 20))
+        statusBarBackgroundView = UIView.init(frame: CGRect.init(x: 0, y: 0, width: self.view.frame.width, height: 20))
         statusBarBackgroundView.backgroundColor = UIColor.black().withAlphaComponent(0.2)
         self.navigationController?.view.addSubview(statusBarBackgroundView)
         

    
    
    func handleSearch()  {


        
    }

        self.darkView.addGestureRecognizer(singleTap)
        
        
        //Search View and textfield

        self.searchField = UITextField.init(frame: CGRect.init(x: 20, y: 20, width: self.view.frame.width - 20, height: (self.navigationController?.navigationBar.frame.height)!))
        self.searchField.keyboardAppearance = .dark
        self.searchView = UIView.init(frame: CGRect.init(x: 0, y: 0, width: self.view.frame.width, height: (self.navigationController?.navigationBar.frame.height)! + 20))
        self.searchView.backgroundColor = UIColor.white()
        self.searchView.addSubview(self.searchField)
        
        
        

