hostsファイルの設定を変えた場合は、
# /etc/rc.d/init.d/network resatart
または、
# /etc/rc.d/init.d/network reload
で反映させる。
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/
この投稿へのコメント
コメントはまだありません。