将字符串写到屏幕上

1  NSString *hang = @"test";
2  CGRect zwRect = CGRectMake(0,0,200,20);
3  UIFont *myFont = [UIFont systemFontOfSize:ud.readFontSize];
4  [hang drawInRect:zwRect
           withFont:myFont];

 

posted @ 2013-02-16 14:23  diablo大王  阅读(233)  评论(0编辑  收藏  举报