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.
I am not entirely sure what you mean. Yet, I would suggest using a
UITableView instead of a UIScrollView to mimic the SMS App style
message list. Each message is in a custom cell with custom height
dependent on the number of lines. The "balloons" are an image that is
just stretched to the proper height. Using a UITableView will be more
efficient than loading all messages onto a ScrollView if you have more
than a screenful of messages in the list.
_______________________________________________
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