开发者

How can i add smileys in iPhone chat application

开发者 https://www.devze.com 2023-02-05 06:49 出处:网络
I\'ve implemented a chat module in a social networking application for iPhone. But now we have to include smileys with the text message that we are sending. The text is displayed in a label in the Cha

I've implemented a chat module in a social networking application for iPhone. But now we have to include smileys with the text message that we are sending. The text is displayed in a label in the Chat window. The binding of message is done with the following manner. While binding each messages, the following procedure is doing. An UIView is created, inside that an UiImageView is addsubviewed for loading bubble image, then inside the UIImageView, label is addsubviewed. That means message is finally displayed inside a label. But in the case of including smileys with the text message, is it possible to add smiley in the label. Now i had created a dictionary in the plist which include key for the image and image name. Can anybody have the solution for this task. Actually i 've been confused at loading 开发者_Python百科smiley images along with text in the label. Hope anybody will give a nice solution for this issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号