- 浏览: 350399 次
- 性别:
- 来自: 福州
最新评论
-
feishihai:
太 感谢 了!!!其他地方说的都只有一半!!
xcode5 Icon already includes gloss effects doesnot work解决方法 -
hhb19900618:
你这个效果有渐变吗?
UITableView阴影 -
zhaoyubetter:
不对啊。这是遍历 value啊
NSDictionary遍历所有的key和Values -
sunqingquan:
学习啦,加油
NSError code错误列表信息 -
liubiqu:
如果有xib文件需要增加一个language,这样调用选择图片 ...
iphone系统控件里显示中文标题设置
文章列表
lable.font = [UIFont fontWithName:@"Helvetica-BoldOblique" size:titleNameFontSize];
如果只是需要加粗,将Oblique去掉即可.某些字体名称 0blique-说明这是斜体了。
方法一:
此时看看代码中是否用center来定位,如果用center来定位,会使图片边模糊,用frame,
CGSize size = charImage.frame.size;
charImage.frame = CGRectMake((int)(centerX - size.width / 2),
(int)(centerY - size.height / 2),
size.width, size.height);
且把CGRectMake的第一个和第 ...
http://rowboatrevolution.com/2009/06/drop-shadows-in-uitableview/
http://cocoawithlove.com/2009/08/adding-shadow-effects-to-uitableview.html
NSDateFormatter *formatter = [[[NSDateFormatter alloc] init] autorelease];
[formatter setDateFormat:@"YYYY-MM-dd hh:mm:ss"];
NSString*locationTimeString=[formatter stringFromDate: [NSDate date]];
用这种方法获取的时间, 如果手机不是用时间24小时设置的话, 那么这个方法获取的小时就会产生混淆,可以用
http://zani.iteye.com/blog/ ...
1. url带中文时编码
NSString* urlString = [NSString stringWithFormat:@"http://60.190.20.174/NBHYYYServices/ZQSBUpload.aspx?type=aqjc&filename=%@", fileName];
urlString = [urlString stringByAddingPercentEscapesUsingEncoding:CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingGB_18030 ...
uploadAlertView= [[UIAlertView alloc] initWithTitle:@"上报中" message:@"请稍等.."
delegate:self cancelButtonTitle:nil otherButtonTitles:nil, nil];
UIActivityIndicatorView* activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActiv ...
1.获取文件的最后修改时间:
NSDictionary* fileAttributes = [[NSFileManager defaultManager] attributesOfItemAtPath:path error:nil];
DLog(@"%@", [fileAttributes objectForKey:NSFileModificationDate]);
2.遍历目录下的符合条件的文件:
NSArray* fiieList = [ [[NSFileManager defaultManager] contentsOfDirecto ...
http://www.raywenderlich.com/2502/introduction-to-calayers-tutorial
载:http://nachbaur.com/blog/building-a-custom-dashboard-uibutton As part of the Parking Mobility iPhone app I’ve been building, I wanted to integrate a simple “Quick Start” help guide to show people how to use the app without being intrusive. I wanted to use the project’s branding as much as possibl ...
关键代码预览:
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0.0, 0.0, 300.0, 225.0)];
view.center = self.view.center;
view.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin |
UIViewAutoresizingFlexibleRightMargin | UIViewAutores ...