multiple languages - ios app
Budget: €8 – €30 EUR
hello i made my app available for 2 languages with localization; however i dont get the text below in two languages because the placeholder is added programmatically in searchbar and so i dont find a label or textfield of it. Anyone know how to do this?
resultSearchController.searchBar.placeholder = "Geef de naam van de groente of fruit in"
resultSearchController.searchBar.searchTextField.attributedPlaceholder = NSAttributedString(string: "Geef de naam van de groente of fruit in", attributes: [NSAttributedString.Key.foregroundColor : UIColor(hue: 9/360, saturation: 62/100, brightness: 83/100, alpha: 1.0)])
resultSearchController.searchBar.placeholder = "Geef de naam van de groente of fruit in"
resultSearchController.searchBar.searchTextField.attributedPlaceholder = NSAttributedString(string: "Geef de naam van de groente of fruit in", attributes: [NSAttributedString.Key.foregroundColor : UIColor(hue: 9/360, saturation: 62/100, brightness: 83/100, alpha: 1.0)])