この記事に関しては、未完結ですが、覚え書きとして、随時追加していきます。
以下のような方法があるらしい。
Instruments
XCodeのメニューの「実行」→「パフォーマンスツールを使って開始」→「Leaks」を選択して、「Instruments」
Allocations
Xcodeからは「実行」メニューの「パフォーマンスツールを使って実行」から利用することができます。
Xcodeでローカ…
http://www.hirano-dept.com/blog/2011/01/iphone-uilabel.html
NSString *str = @”sample string”; CGSize size = [str sizeWithFont:[UIFont boldSystemFontOfSize:13] constrainedToSize:CGSizeMake(500, 2000) lineBreakMode:UILineBreakModeWordWrap]; NSLog(@”String height: %d”, size.height);
http://blog.summerwind.jp/archives/1353/
graffiti on the web
この投稿へのコメント
コメントはまだありません。