iPhon開発(objective-C)で実行を遅らせる方法です。
PHPなどのsleep()のような動作を想定しています。
[NSThread sleepForTimeInterval:0.5];
上記のようにすることで、0.5秒遅らせることが可能になります。… 
  
        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
      graffiti on the web      
この投稿へのコメント
コメントはまだありません。