Re: [iPhone] Custom UIView like in iPhone Messages App
Re: [iPhone] Custom UIView like in iPhone Messages App
- Subject: Re: [iPhone] Custom UIView like in iPhone Messages App
- From: Tharindu Madushanka <email@hidden>
- Date: Sun, 8 Nov 2009 13:23:05 +0530
Hi
I have been currently doing something like this.
In my chat view I have a scroll view and my text field is always with
keyboard open. I keep two variables to scale the scroll view content size as
the chat messages height get increased over time. So I set the content size
bigger if the messages are getting bigger.
And then I have been trying to implement a custom UIView that has a label
and image view in it. by getting the font size I can scale the label to
multiple lines. And when its multiple lines the image is little bit scaled
so it does not look that nice.
Have you used multiple images to do this ? I mean say for a small message
different background image and for a very long message another. Or what
could be the best size of a background balloon image to get ?
And I could have done something like what you proposed for this :(
Tharindu Madushanka
tharindufit.wordpress.com
_______________________________________________
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