Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Curious Warning Message on UITextView

Tags:

Has anyone run across this warning message building for the iPhone? More importantly do you understand how to fix it?

"unsupported configuration data detection and editable"

It's seems to be the UITextView that is complaining. Here's a screenshot. enter image description here

like image 828
Aaronium112 Avatar asked Mar 14 '11 18:03

Aaronium112


2 Answers

The problem is that you have that textview set both to editable + to detect/autolink phone numbers, events, addresses, etc. a text area can either be editable and not detect/autolink text, or it can autolink text but not be editable.

Your settings for that textview should look like:

enter image description here

or

enter image description here

but not like:

enter image description here

like image 51
adam.wulf Avatar answered Sep 25 '22 16:09

adam.wulf


I think in your scenario, the text input is only used to input text, nothing more. Then when it get's presented back, the "presenting text view" will take care of detecting the potential information... dates, events, etc.

To be more precise : in a simple app scenario, a user types in some text (let's say an event input text view - with no detection necessary at this point). Then when it get's eventually presented back to him or another user (let's say the detail view of the event), the text will be presented back in a "non-editable" text view that in turn will be able to have detections.

like image 30
deijmaster Avatar answered Sep 23 '22 16:09

deijmaster