Creating a good custom emoticon chat experience on iOS(在 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 上创建良好的自定义表情聊天体验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 iOS 上创建良好的自定义表情聊天体验
基础教程推荐
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
