                         let img = UIImage(data: imgData!)
                         contact.image = img
                     } else {
-                        let imPath = self.curBundle?.pathForResource(kAvatarImage, ofType: "png", inDirectory: "EVContactsPicker.bundle")
-                        let im = UIImage(contentsOfFile: imPath!)
-                        contact.image = im
+//                        let imPath = self.curBundle?.pathForResource(kAvatarImage, ofType: "png", inDirectory: "EVContactsPicker.bundle")
+//                        let im = UIImage(contentsOfFile: imPath!)
+                        
+                        contact.image = self.avatarImage
                     }
                 }
             } catch {

import Contacts
import ContactsUI

//public struct EVContactModeOption : OptionSetType {
//    public let rawValue: Int
//    
//    public init(rawValue : Int) {
//        self.rawValue = rawValue
//    }
//    
//    public static let Internal        = EVContactModeOption(rawValue: 1 << 0)
//    public static let External        = EVContactModeOption(rawValue: 1 << 1)
//}


@available(iOS 9.0, *)

                    let img = UIImage(data: imgData!)
                    tmpContact.image = img
                } else {
//                    let imPath = self.curBundle?.pathForResource(kAvatarImage, ofType: "png", inDirectory: "EVContactsPicker.bundle")
//                    let im = UIImage(contentsOfFile: imPath!)
                    tmpContact.image = self.avatarImage
                }
                
                mutableContacts.append(tmpContact)
