I have created an extension for notification center and I wanna get some text inputs from the user. There is no problem with adding and interacting with the text fields. but when the text field gets focus keyboard will appear under the notification center. so. How can I fix this problem?!!!
Asked
Active
Viewed 705 times
0
-
I don't think you're supposed to use text fields in widgets, I read about a widget for notes that created it's own keyboard on the Notification Center (It probably had to use it's own because of what you're describing) and it was pulled from the store. – EmilioPelaez Dec 14 '14 at 16:33
-
i think it is the only way to create a keyboard in the widget it self. :| – hmak.me Dec 14 '14 at 16:43
1 Answers
3
The keyboard will never appear, because using the keyboard is not supported in today extensions. Apple's App Extension Programming Guide notes that
In particular, note that iOS widgets don’t support keyboard entry.
You can use buttons but you can't get iOS to display a keyboard.

Tom Harrington
- 69,312
- 10
- 146
- 170