Zmiana tekstu przycisku klawiatury "Return"
Jak mogę zmienić standardowy tekst przycisku "Powrót" na coś innego?
Chcę, żeby było "Dodaj".
55
Author: Josh Caswell, 2009-06-10
3 answers
Niestety, możesz zmienić "Return" tylko na jedną z predefiniowanych etykiet z właściwością returnKeyType
:
- Return (default)
- Idź
- Dołącz
- Następna
- trasa
- Szukaj
- Wyślij
- Yahoo
- zrobione
- Telefon Alarmowy
- Kontynuuj (od iOS 9)
Więc może powinieneś wybrać "Dalej", jeśli chodzi o rodzaj aktywności wprowadzania danych.
Więcej informacji tutaj .
117
Author: macbirdie,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-11-27 11:20:48
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-11-27 11:20:48
Możesz użyć tego prostego sposobu:
[textField setReturnKeyType:UIReturnKeyNext]; or [textField setReturnKeyType:UIReturnKeyGo];
zamiast przycisku "Dodaj".
Inne, tworzysz programowo klawiaturę z przyciskami, które chcesz.
5
Author: AmyNguyen,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-11-03 03:53:26
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-11-03 03:53:26
IOS 9 obsługuje teraz przycisk Wyślij. Jest to następujący kod swift
self.liveChatMessage.returnKeyType = .Send
Objective C:
[self.liveChatMessage setReturnKeyType: UIReturnKeyTypeSend];
1
Author: cmario,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-03-08 02:29:39
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2018-03-08 02:29:39