以下のサイトを参考に
[ui_picker setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"GMT"]];
のようにすると日付の誤差はなくなりましたが、時刻の誤差はそのままでした。
http://pukapuka-ahirusan.blogspot.com/2010/11/uidatepicker.html
どうやら、UIDatePicke…
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
この投稿へのコメント
コメントはまだありません。