 		
 		addTarget(self, action: #selector(displayNumberKeyBoard), for: .touchDown)
 		
-		leftView = UIView(frame: CGRect(x: 0, y: 0, width: 37, height: 29))
-		
-		flagButton = UIButton(frame: CGRect(x: 8, y: 0, width: 29, height: 29))
+		leftView = UIView()
+		
+		flagButton = UIButton()
 		flagButton.accessibilityLabel = "flagButton"
 		flagButton.addTarget(self, action: #selector(displayCountryKeyboard), for: .touchUpInside)
 		

		
		countryPicker.setCountry(Locale.current.regionCode!)
	}
	
	@objc private func displayNumberKeyBoard() {
		if inputView != nil {

}

public class CTKFlagPhoneNumberTextField: UITextField, UITextFieldDelegate, MRCountryPickerDelegate {

    private static let FlagSize = CGSize(width: 32, height: 32)
	
    public var flagButtonEdgeInsets: UIEdgeInsets = UIEdgeInsets(top: 0, left: 8, bottom: 0, right: 8) {
        didSet {
            self.layoutSubviews()
        }
    }
	private var flagButton: UIButton!
	private lazy var countryPicker: MRCountryPicker = MRCountryPicker()
	private lazy var phoneUtil: NBPhoneNumberUtil = NBPhoneNumberUtil()
