|
@@ -47,7 +47,7 @@ class BFMusicSearchController: BFBaseViewController {
|
|
|
leftv.addSubview(iv)
|
|
|
searchTF.leftView = leftv
|
|
|
searchTF.leftViewMode = .always
|
|
|
- searchTF.clearButtonMode = .whileEditing
|
|
|
+ searchTF.clearButtonMode = .never
|
|
|
|
|
|
let redPlaceholderText = NSAttributedString(string: "歌名/歌手名",
|
|
|
attributes: [NSAttributedString.Key.foregroundColor: UIColor.hexColor(hexadecimal: "#BDBDBD"),NSAttributedString.Key.font:UIFont.systemFont(ofSize: 14,weight: .regular)])
|