开发者

Iphone Message App like textField

I was t开发者_开发问答rying to style my iphone app's textfield like the one in the messaging app. I could not style the textfield to have shadow like the messaging app. Messaging app has a shadow that drops inside and has a gradient. How do I do that? Also, setting the clipsToBounds property to yes doesn't let shadow appear. But, not enabling that pushes the text out of the bounds of the textField. How do I handle that?

How do I emulate these behavior?

Thanks


I would suggest a UITableView with custom UITableViewCells - that would allow you to tweak the look to your heart's content (specifically, it sounds like you want a cell with a custom background, and a transparent UITextField (without border) positioned within the cell.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜