Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 UIwebview 在 IOS 中创建 html 编辑器,但我想问一下如何在 html 源代码视图和 web 视图之间切换 UIwebview 有人可以告诉我怎么做
UIWebView不支持在预览和源模式之间切换。您可能应该查看类似于自定义的东西UITextView来查看和编辑 HTML 源代码。
UIWebView
UITextView