开发者

How to create input text controller like in the iphone message app

开发者 https://www.devze.com 2023-04-05 03:44 出处:网络
I want to do a chat app like the iphone message app. I use a UITa开发者_开发技巧bleView to show the messages and under it i want to put some input text controller and a send button. the problem is tha

I want to do a chat app like the iphone message app. I use a UITa开发者_开发技巧bleView to show the messages and under it i want to put some input text controller and a send button. the problem is that if i use a UITextField for the input controller it does not wrap the words and it does not look like the iphone message app controller. how can i get the look&fill of the original controller?


Here you have an open source of project that you're trying to develop. I think this will help: cocoacontrols.com. Also on cocoacontrols.com you can find bunch of useful projects so try to look there before reinventing the wheel.

Best of luck


take a look at Chat Input Sample code. It has all the functionality what you needed.

0

精彩评论

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

关注公众号