Tharindu,
I did this by subclassing UITableView and overriding - (void)
setBackgroundImage:(UIImage*)image
This gives me a static background that the tableView will scroll over
the top.
Next you need to create a custom cell for your messages and pop them
into the UItableView subclass in the method - (UITableViewCell *)
tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath
*)indexPath
Someone will probably correct my approach if it is inefficient or
incorrect.
I hope this helps. Let me know if you still can not get there.
Regards
Damien
On 08/11/2009, at 12:12 PM, Tharindu Madushanka wrote:
Hi,
I am trying to implement a custom ui view with a background image to
append
chat messages into a scroll view like in iPhone default Messages SMS
App.
But I have few things to clarify.
If its multiple lines how can I remove the image scaling so that it
would
not look like that background image is scaled ?
Could anyone suggest some solution for this.
Thank you
Tharindu Madushanka
tharindufit.wordpress.com
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/damien.cooke%40internode.on.net
This email sent to damien.co...@internode.on.net
"We act as though comfort and luxury were the chief requirements of
life, when all that we need to make us happy is something to be
enthusiastic about."
-- Albert Einstein
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com