【iOS 知识】ios中没有.9图片。使用resizableImageWithCapInsets:UIEdgeInsetsMake
摘要:UIImage *image = [UIImage imageNamed:@"icon.png"]; image = [image resizableImageWithCapInsets:UIEdgeInsetsMake(300, 10, 10, 10) resizingMode:UIImageRe
阅读全文
posted @
2022-07-29 10:06
wp7ers
阅读(59)
推荐(0) 编辑
【iOS 知识汇】drawrect ->android (ondraw)
摘要:// // DMView.m // ZolSoft // // Created by zol_app on 2022/7/28. // #import "DMView.h" @interface DMView(){ NSString* _useLightText; CGFloat start_x ;
阅读全文
posted @
2022-07-29 10:01
wp7ers
阅读(33)
推荐(0) 编辑