问题
I am developing an app that use web browser after I built it I got this message:
UITextField -webView called. This method is no longer supported with the new text architecture
So what do I need to use right now?
回答1:
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.
回答2:
It is a bug on the iOS 7 simulator.
来源:https://stackoverflow.com/questions/19778951/uiwebview-log-message-ios-7