06 2022 档案

摘要:#import "DCWKViewController.h" #import <WebKit/WebKit.h> #define URL_define @"URL" @interface DCWKViewController ()<WKUIDelegate,WKNavigationDelegate, 阅读全文
posted @ 2022-06-21 15:11 LongYP1 阅读(247) 评论(0) 推荐(0) 编辑
摘要:#pragma TZImagePickerController - (void)setTZimageView { TZImagePickerController *imagePC = [[TZImagePickerController alloc]initWithMaxImagesCount:1 d 阅读全文
posted @ 2022-06-21 14:45 LongYP1 阅读(1237) 评论(0) 推荐(0) 编辑
摘要:<UITableViewDelegate,UITableViewDataSource> @property (nonatomic, retain) UITableView *tableView; @property (nonatomic, strong) NSMutableArray *dataSo 阅读全文
posted @ 2022-06-21 14:44 LongYP1 阅读(111) 评论(0) 推荐(0) 编辑
摘要:NSString *dataString = response[@"model"][@"3"]; NSData* data = [dataString dataUsingEncoding:NSUTF8StringEncoding]; self.tabArray = [NSJSONSerializat 阅读全文
posted @ 2022-06-21 14:39 LongYP1 阅读(203) 评论(0) 推荐(0) 编辑
摘要:- (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString { if (jsonString == nil) { return nil; } NSData *jsonData = [jsonString dataUsingEnc 阅读全文
posted @ 2022-06-21 14:37 LongYP1 阅读(487) 评论(0) 推荐(0) 编辑
摘要://压缩图片方法 - (UIImage*)imageWithImageSimple:(UIImage*)image scaledToSize:(CGSize)newSize{ UIGraphicsBeginImageContext(newSize); [image drawInRect:CGRect 阅读全文
posted @ 2022-06-21 14:35 LongYP1 阅读(52) 评论(0) 推荐(0) 编辑
摘要:// 宽高 // Frame #define SCREEN_FRAME ([UIScreen mainScreen].applicationFrame) // 宽度 #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width) // 高 阅读全文
posted @ 2022-06-21 14:34 LongYP1 阅读(326) 评论(0) 推荐(0) 编辑
摘要:-(float)heightForString:(NSString *)value fontSize:(float)fontSize andWidth:(float)width { float height = [[NSString stringWithFormat:@"%@\n",value] b 阅读全文
posted @ 2022-06-21 14:32 LongYP1 阅读(227) 评论(0) 推荐(0) 编辑
摘要:#import <UIKit/UIKit.h> #import "MineHeadModel.h" NS_ASSUME_NONNULL_BEGIN @protocol HeadViewDelegate <NSObject> - (void)headViewButtonClick:(NSInteger 阅读全文
posted @ 2022-06-21 14:30 LongYP1 阅读(23) 评论(0) 推荐(0) 编辑
摘要:+(void)buttonAnimationClick:(UIButton*)button{ button.transform = CGAffineTransformIdentity; [UIView animateKeyframesWithDuration:0.5 delay:0 options: 阅读全文
posted @ 2022-06-21 14:29 LongYP1 阅读(365) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示