Re: How to get the embossed look of the entire cell in UITableView?
Re: How to get the embossed look of the entire cell in UITableView?
- Subject: Re: How to get the embossed look of the entire cell in UITableView?
- From: Fritz Anderson <email@hidden>
- Date: Wed, 25 Apr 2012 10:47:43 -0500
On 21 Apr 2012, at 5:36 PM, The Rhythmic wrote:
> Hi, Am a newbie to iOS programming. In the app am writing, am adding user
> inputs dynamically/programmatically to UITableView. For each user input, I
> put it in a UITableViewCell and add it to the UITableView. I want the table
> cells to look like in the iPhone 'Messages' screen (like a bubble or some
> embossed look of the 'entire' cell). How is this possible? Any help please?
Prepare your background image so it shows all your effects for the corners and sides, around the smallest practical content: The smallest correct representation of your bubble. Add it to your project as a resource. Load the resource from the bundle as a UIImage. Send it -resizableImageWithCapInsets:. Now you have an image you can use as a background that you can stretch to fit the content.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden