user198725878
user198725878

Reputation: 6386

show smiley icons into an uitextfield

I would like to show list of emotion icons / smiley icons when tap of a button. on selecting any, i want that icon to placed on my uitextview.

Is there any options to do with iPhone app , if not will it require more time to get it

Please let me know and thanks

Upvotes: 1

Views: 3041

Answers (2)

z33
z33

Reputation: 1263

NSAttributedString is a option to archive your goal.

There is a project you may have a look:

emotionlabel

It's based on DTCoreText project which enables you drawing simple rich text like any HTML document without having to use a UIWebView.

Upvotes: 4

Yama
Yama

Reputation: 2649

Take one UIImage that looks like UITextField and set it on the UILabel background image. Once the emoticon is selected, put it on the UILabel. Hope that would help you.

Upvotes: -2

Related Questions