0

I just got another weird thing after upgrading to Xcode 5.1… As I am typing in my UITextField, a message is displayed in the console saying

UITextField -webView called. This method is no longer supported with the new text architecture

What kind of a message is this..? UITextField..UIWebView… oh come on… this Xcode 5.1 upgrade is giving me all sorts of issues…

Thanks in advance.

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Ahmed Z.
  • 2,329
  • 23
  • 52
  • 1
    this seems to be an error from an internal framework of Apple and be more interpreted as warning. Probably fixed soon. – Volker Mar 26 '14 at 11:17
  • 1
    http://stackoverflow.com/questions/19073960/uitextfield-webview-no-longer-supported – Kumar KL Mar 26 '14 at 11:18
  • 1
    http://stackoverflow.com/questions/19778951/uiwebview-log-message-ios-7 – Kumar KL Mar 26 '14 at 11:18
  • @KumarKl nice effort i am also facing problem related to `UITextField` [Please review](http://stackoverflow.com/questions/22631235/uitextfield-strange-behaviour-when-entering-text) – Buntylm Mar 26 '14 at 11:21
  • 1
    Before iOS7 all the label text field and text views objects used web views in the background to format attributed strings. Since TextKit the method calls that ran that are deprecated. As noted above it's not an error for you to worry over but it would be a nice thing to go log it on bugreport.apple.com. – Cocoadelica Mar 26 '14 at 11:22

1 Answers1

0

Thanks to "Patrick Goley"

Previously, UITextfield used a UIWebView internally for rendering rich text. This has been done away with the release of TextKit (or as they say it, "the new text architecture"). If you need to render web content, this should certainly be done by creating and using a UIWebView directly.

Ahmed Z.
  • 2,329
  • 23
  • 52