随笔分类 - iPhone开发必知知识点
摘要:NSString *str1 = @"我台资深屌丝鲁大炮表示不服"; NSString *str2 = @"鲁大炮"; ////在str1这个字符串中找"鲁大炮",判断有没有 if([str1 rangeOfString:str2].location != NSNotFound){ NS...
阅读全文
摘要:1 [[UIImage imageNamed:@"button_textured_30"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 5)];其中Insets这个参数的格式是(top,left,bottom,right),从上、左、下...
阅读全文
摘要:- (UIImage *)stretchableImageWithLeftCapWidth:(NSInteger)leftCapWidth topCapHeight:(NSInteger)topCapHeight 这个函数是UIImage的一个实例函数,它的功能是创建一个内容可拉伸,而边角不拉伸的图...
阅读全文

浙公网安备 33010602011771号