使用iOS 5富文本编辑器 [英] Using iOS 5 rich text editor

查看:113
本文介绍了使用iOS 5富文本编辑器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如您所知,iOS 5中的Mail应用程序有一个富文本编辑器,是否有任何可能的方法将此功能用于常规UITextView?

as you know the Mail app in iOS 5 have a rich text editor is there any possible way to use this feature for a regular UITextView ?

推荐答案

iOS 5富文本编辑控件也出现在iOS 4的笔记应用程序中(在计算机上制作一个富文本笔记并将其同步到看这个。

The iOS 5 rich text edit control is also present in the notes app in iOS 4 (make a rich text note on the computer and sync it to see).

这是一个自定义Apple制作的控件,他们在自己的应用程序中使用它,但它没有在任何官方开发人员API中发布。它可能在某个地方的SDK中,但由于它没有记录,即使你找到并使用它,Apple也会拒绝你的应用程序。

This is a custom Apple-made control which they use in their own apps, but it is not published in any official developer API. It's probably in the SDK somewhere, but because it is undocumented, even if you find it and use it, Apple will reject your app.

基本上,如果你想要一个富人文本控制你必须自己制作。

Basically, if you want a rich text control you will have to make your own.

编辑:试试这个: https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples /文本编辑/ 。我没有用它,所以我不知道它会有多好用。 (来自此问题的链接)

Try using this: https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples/TextEditor/. I haven't used it, so I don't know how well it will work. (Link from this question)

这篇关于使用iOS 5富文本编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆