自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(30)
  • 收藏
  • 关注

原创 git pull 报错:Not possible to fast-forward aborting 的解决办法

git pull 报错:Not possible to fast-forward aborting 的解决办法

2024-01-04 10:14:16 677

原创 iOS 17.0 YYText 崩溃处理

iOS17.0 YYText 崩溃

2023-11-21 09:37:13 3313

原创 SDWebImage加载超高清大图 显示不出来问题处理

SDWebImage 加载超高清大图显示不出来问题处理

2023-07-13 09:46:38 322

原创 iOS 将文件压缩成zip包再上传至服务器

iOS ssziparchive 把文件压缩成zip 再上传至服务器

2023-07-11 10:01:29 1047

原创 Xcode 14.3 file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xct...

Xcode 14.3 file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xct...

2023-05-16 14:29:21 2050

原创 git pull失败问题处理

git pull 失败

2022-10-12 15:02:43 1518

原创 textField 金额输入限制(只能数字或者.)

textField金额输入限制(只能数字或者.)

2022-08-01 14:44:26 429

原创 iOS 指纹识别/人脸识别登录(ECDSA 加签)

人脸识别/指纹识别登录(ECDSA签名)

2022-06-10 15:39:34 2910

原创 YYLabel内容展示(文字 内容 链接(高亮 且可以点击);内容撑起背景的高度)

NSString *strTime = DSStringValue(self.model.CreateTime);// strTime = [strTime stringByReplacingOccurrencesOfString:@"T" withString:@" "]; if (strTime.length > 0) {// NSRange rangeDate = [strTime rangeOfString:@"T"]; sel...

2022-01-28 17:51:25 1302

原创 无数据 无网络view

1.无数据.h#import <UIKit/UIKit.h>typedef void(^refreshBlock)(void);@interface STNoDataView : UIView@property (strong, nonatomic) UILabel *detailLabel;@property (nonatomic,strong) UIImageView * imageView;@property (nonatomic, strong) NSLayoutCons

2022-01-28 17:45:32 847

原创 给view添加阴影

-(UIView *)vBG{ if (!_vBG) { _vBG = [XWTool viewbackground:Color_White SuperView:self.contentView]; _vBG.layer.cornerRadius = 6; _vBG.layer.backgroundColor = [UIColor colorWithRed:255/255.0 green:255/255.0 blue:255/255.0 alpha:1

2022-01-28 17:39:45 476

原创 按钮收展动画

/* 0:默认状态 灰色框 黑色字 灰色箭头(向下) 1:选中状态 红色框 红色字 红色箭头(向下) 2:选中状态 红色框 红色字 红色箭头(向上) 3:失去焦点 灰色框 黑色字 灰色箭头(向下) */-(void)updateWithStatus:(int)status{ if (status == 1) { self.imvArrow.image = ImageNamed(@"ic_arrow_under_red") ;//为了合上也

2022-01-28 17:38:12 417

原创 alertview样式3(带输入框 加 减 确认 操作 含键盘遮挡处理)

.h文件#import <UIKit/UIKit.h>NS_ASSUME_NONNULL_BEGIN@interface ENToothIntervalAlertView : UIView@property (nonatomic, copy) void (^sureBlock)(NSString *space);@property (nonatomic, copy) void (^dismissBlock)(void);- (void)show;//定制弹窗- (id)ini

2022-01-28 17:35:33 955

原创 alertview 样式 2 (含标题 文字 取消 选中)

.h文件#import <UIKit/UIKit.h>typedef void(^commitBlock)(NSString * code);@interface ENAlertView : UIView- (id)initWithTitle:(NSString *)title contentText:(NSString *)content textAlignment:(NSTextAlignment)textAlignment leftBut

2022-01-28 17:32:48 1375

原创 自定义的alert view1( 用tableview实现)

.h文件#import <UIKit/UIKit.h>NS_ASSUME_NONNULL_BEGIN@interface ENCustomBottomTableviewCell : UITableViewCell@property (nonatomic, strong) UILabel *lblContent;+ (ENCustomBottomTableviewCell *)getCellWithTableView:(UITableView *)tableView;/** *

2022-01-28 17:30:28 588

原创 多个按钮选中与取消

1.按钮选中不可取消 btn.layer.borderColor = btn.selected?Color_Theme.CGColor:Color_Btn_Border.CGColor; //单选 if (btn.selected) { for (UIButton *btnTemp in self.contentView.subviews) { if ([btnTemp isKindOfClass:[UIButton class]] &&

2022-01-28 17:03:34 1202

原创 iOS 15适配

在baseVC 的viewWillAppear 方法中添加如下代码:if (@available(iOS 15.0, *)){ //tableview 下移22 UITableView *tableview = (UITableView *) [self getSubViewWithClassName:@"UITableView" inView:self.view] ; if (tableview) { tableview.sec

2021-09-28 10:14:24 408

原创 wkwebview添加进度条

@interface CommonWebVC()<WKUIDelegate,WKNavigationDelegate, NJKWebViewProgressDelegate,WKScriptMessageHandler>@property (nonatomic, strong) WKWebView wvMainWeb;@property (nonatomic)NJKWebViewProgress progressProxy;@property (nonatomic)NJKWebV.

2020-12-10 14:39:36 504

原创 “ios14 popToRootViewControllerAnimated 底部tabbar消失”问题处理

ios14 popToRootViewControllerAnimated 底部tabbar消失问题处理解决方法是:在UINavigationController 类重写以下方法: -(NSArray<__kindof UIViewController *> *)popToRootViewControllerAnimated:(BOOL)animated { if (animated) { UIViewController *

2020-12-07 16:37:36 1661

原创 如何检查app中是否使用了广告标识

打开文件目录输入命令行: grep -r advertisingIdentifier .出现match 则含有广告标识

2019-04-01 18:00:32 993

原创 developer 开启双重验证 your appid needs to be updated

开发者中心开启双重验证遇到的问题:解决办法:点击support page,进入详情去看整个步骤;中文版:https://support.apple.com/zh-cn/HT207198001如果未开启双重验证,那么开启;如果已经开启,则可以关闭,再重启。002用手机登录appid;然后设置-appid -安全与密码;点击开启二次验证- 更新账户安全这样登录开发者中心的时...

2019-04-01 17:37:36 3140

原创 wkwebview加载空白问题

代理方法中实现:// 在收到响应后,决定是否跳转- (void)webView:(WKWebView *)webView decidePolicyForNavigationResponse:(WKNavigationResponse *)navigationResponse decisionHandler:(void (^)(WKNavigationResponsePolicy))decisi...

2019-03-31 21:49:30 2991

原创 windows 系统 添加打印机脚本

@echo offecho 添加网络打印机echo 等待…sc config spooler start= autonet stop spooler &amp; net start spoolerrem 只需替换以下ip、打印机名、帐号、密码为具体名称即可net use \172.17.6.14\IPC$ “Koudailicai88” /user:“printer”rundll32...

2018-11-08 10:20:27 2896

原创 abort trap:6 问题解决移除pod 重新安装

一、全新安装前,先检查是否有安装残留1、如果之前装过cocopods,最好先卸载掉,卸载命令:$ sudo gem uninstall cocoapods2、先查看本地安装过的cocopods相关东西,命令如下:$ gem list --local | grep cocoapods会显示如下:cocoapods-core (0.39.0)cocoapods-downloader (0...

2018-11-05 11:16:56 1188

原创 升级xcode 10后报错:library not found for -lstdc++.6.0.9 && Multiple command

001 报错 library not found for -lstdc++.6.0.9因为项目中的sdk 需要 lstdc,但是xcode 10 升级后 删除了该文件 所以需要重新导入这些文件即可。点击蓝字下载 libstdc002 Multiple commandShowing Recent Messages:-1: Multiple commands produce '/Use...

2018-09-25 17:24:15 671

原创 app 所需图标尺寸

图标16*16,20*20, 29*29,36*36 ,40*40, 48*48,57 * 57, 58*58 ,60 * 60 , 72*72 ,76 * 76 ,87 * 87 ,80*80, 96*96 ,108*108,120*120 144*144, 152*152,167*167,180*180 192*192 256*256,384*384 ,1024*1024...

2018-09-13 11:06:46 2617

原创 微信分享[WXApi sendReq:req] 返回NO

原因在于,返回的分享图片尺寸太大:/*! @brief 设置消息缩略图的方法 * * @param image 缩略图 * @note 大小不能超过32K */- (void) setThumbImage:(UIImage *)image;该方法中明确规定 大小不能超过32k。...

2018-09-10 11:07:00 3109

原创 git中如何忽略project.xcworkspace/xcuserdata

在进行 分支合并的时候,有时候会合并不了 提示的显示冲突的文件是 与 xcuserdata 相关 此时的解决方案如下:* 清除xcuserdata 的缓存 * 选中工程,右键-》显示包内容- 》将如下文件夹删除 进行合并即可...

2018-09-07 16:37:40 1715 2

原创 git 多人协作以及新建项目

git 新建项目1:将:podfile和.gitGore添加进去2: 进入项目文件夹里:git init3: pod install4:git remote add origin 远程项目地址5: 推送到远程:git push origin master6:创建分支:git checkout -b 分支名字 origin/development如果出现:fatal:...

2018-09-07 16:37:01 146

原创 git 常用命令总结

创建git init 创建空的repositorygit add fileName 添加修改的文件,把文件修改添加到暂存区git commit -m '提交的消息' 把暂存区的所有内容提交到当前分支git diff commitId1 commitId2 查看两次提交的区别git diff commitId1:fileName commitId2:fileName 查看两次提交...

2018-09-06 18:41:37 85

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除