htmlのフォーム内のcheckboxなどで、配列を扱いたい場合は、以下のように name 属性に [] をつけます。これで配列として扱えます。
<input type="checkbox" name="item[]" value="">
<input type="checkbox" name="item[]" value="">
<input type="checkbox" n…
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/
この投稿へのコメント
コメントはまだありません。