私はCoreTextを試していますが、私が抱えている問題の1つは、コンテンツがスクロール可能ではなく、スクロール可能にする方法を特定していることです...このコードが機能するラベルを使用します。
//Calculate the expected size based on the font and linebreak mode of your label
CGSize maximumLabelSize = CGSizeMake(300,9999);
CGSize expectedLabelSize = [labelText sizeWithFont:label.font
constrainedToSize:maximumLabelSize
lineBreakMode:UILineBreakModeTailTruncation];
//adjust the label the the new height.
CGRect newFrame = label.frame;
newFrame.size.height = expectedLabelSize.height;
label.frame = newFrame;
私のテストプロジェクト:http ://dl.dropbox.com/u/47384598/AA_CoreText.zip
しかし、CoreTextで何をすべきですか?どんな助けでも大歓迎です!