How can I change the background color of the gray area in the search bar to white?
`let searchBar = UISearchBar() searchBar.placeholder = ChatConstants.searchTitle searchBar.backgroundColor = .white searchBar.delegate = self searchBar.vCornerRadius = 20 searchBar.vBorderWidth = 1 searchBar.vBorderColor = .icedGray searchBar.searchBarStyle = .minimal searchBar.searchTextField.backgroundColor = .white searchBar.translatesAutoresizingMaskIntoConstraints = false if let textField = searchBar.value(forKey: ExploreConstants.searchFieldKey) as? UITextField { let whiteColor = UIColor.white let attributedString = NSAttributedString(string: “Search”, attributes: [NSAttributedString.Key.foregroundColor: whiteColor]) textField.attributedPlaceholder = attributedString […]