     override func viewDidLoad() {
         super.viewDidLoad()
         
-        //self.view.backgroundColor = UIColor(patternImage: UIImage(named: "../images/33791975.jpeg")!)
+        textfield.delegate = self
+        textfield.returnKeyType = .Done
+        
         backgournd.image = backgourndimage
         backgournd.frame = CGRectMake(0.0, 65.0, self.view.frame.width, self.view.frame.height)
         self.view.addSubview(backgournd)
         self.view.sendSubviewToBack(backgournd)
+        
         if(DBmethod().FilePathTmpGet() != ""){
             textfield.text = DBmethod().FilePathTmpGet().lastPathComponent
         }


import UIKit

class ShiftImport: UIViewController{
    
    @IBOutlet weak var textfield: UITextField!
    

        InboxFileCountRecord.counts = DBmethod().InboxFileCountsGet()-1
        DBmethod().AddandUpdate(InboxFileCountRecord)
    }
    
    func textFieldShouldReturn(aaa: UITextField) -> Bool {
        aaa.resignFirstResponder()
        return true
    }
}
