Hi,
here are the answers of my questions:
- For my first question: Today I ask a speaker in Apple tech Talk in Berlin and the answer is: the API for that is not public for iPhone. So I think we have to implement it. you can try to use an image (set the alpha value as needed) so you have it as background for the text (substring), calculate the Rect of this substring than user the method [yourImage drawInRect: aRect] to draw the image. I did not try it but it just a idea
- For a multiline text we need UITextView and we have to calculate the height of the text. here is a link that show you how to do this: Autosizing UILabel for a certain # of lines. - iDevKit
or this link: iPhone dev - UILabel multiline and dynamic height