在 iOS 上创建良好的自定义表情聊天体验 [英] Creating a good custom emoticon chat experience on iOS

查看:22
本文介绍了在 iOS 上创建良好的自定义表情聊天体验的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为基本上是扩展的 UITextView 提出可能的实现,它具有键入内联图像的能力.

I'm trying to come up with possible implementations for what is basically an expanding UITextView with the capability of typing inline images.

我见过很多开源项目,它们处理带有自定义表情符号的标签创建,UIWebViews 将图像与文本内联绘制等等,但没有一个不运行原生 UITextView 行为:

There are literally dozens of open source projects I've seen that handle creation of labels with custom emoticons, UIWebViews that draw your images inline with text and so on, but none that don't run over the native UITextView behavior:

  • 自动更正
  • 拼写
  • 放大镜
  • 选择工具提示和功能
  • 句号双倍空格

我在应用商店中看到的唯一一款在键入自定义表情时能提供良好、强大体验的应用是 Viber.

The only app I've seen on the app store that gives a good, robust experience with typing custom emoticons is Viber.

所以问题是 - 他们是怎么做到的?任何想法、注释或参考将不胜感激.

So the question is - how did they do this? Any ideas, notes or references would be greatly appreciated.

谢谢!

推荐答案

唯一想到的是 this,但我从来没有碰过它.如果您可以使某些代码点以您想要的方式呈现,您可能会做出一些有用的事情,例如内置的表情符号.

The only thing that comes to mind is this, but I've never touched it. You might make something useful if you can make certain code points render the way you want, like the built-in emoji.

这篇关于在 iOS 上创建良好的自定义表情聊天体验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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