IOS 8 Today Extension: is it possible to add an editable text field?

I am trying to create a simple Today Extension. I was able to add a label in which the value can be updated through the main application. Now I am exploring the possibility of updating the value in the main application through the extension. However, when I tried to add a text box, I cannot enter anything.

Is this an extension restriction? If not, could you advise me how to do this? Thank you very much!

+6
source share
1 answer

Unfortunately, this is a limitation.

The Apple Extension Programming Guide says:

Because user interaction with Today widgets is fast and limited, you should develop a simple, optimized user interface that illuminates the information that interests you. In general, it is a good idea to limit the number of interactive elements in widgets. In particular, note that iOS widgets do not support keyboard input.

https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/Today.html#//apple_ref/doc/uid/TP40014214-CH11-SW1

+16
source

Source: https://habr.com/ru/post/971852/


All Articles