摘要: 方法: 1 -(void) addRoundedRectToPath : (CGContextRef) context : (CGRect) rect : (float) ovalWidth : (float) ovalHeight{ 2 float fw, fh; 3 if (ovalWidth == 0 || ovalHeight == 0) { // 1 4 CGContextAddRect(context, rect); 5 return; 6 } 7 CGContextSaveGState(context); 8 CGContextTranslateCTM (conte... 阅读全文
posted @ 2013-06-24 15:19 mxlzlh 阅读(672) 评论(0) 推荐(0)
摘要: 1 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];//设置为英文显示2 NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"zh_CN"];//设置为中文显示3 datePicker.locale = locale;4 [locale release]; 阅读全文
posted @ 2013-05-09 16:06 mxlzlh 阅读(377) 评论(0) 推荐(1)