自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(48)
  • 资源 (1)
  • 收藏
  • 关注

原创 uniapp开发:vue3 中vuex的使用

在根目录下创建store目录,并在该目录下创建index.js文件。需要使用的vue 或者nvue界面:(组件)开发工具HbuilderX3.98。index.js 文件。audio.js文件。

2024-03-22 16:38:19 870 1

原创 SDK does not contain ‘libarclite‘ at the path ‘/Applications/Xcode.app/Contents/Developer/Toolchains

下载xcode15 运行程序提示:SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a';第一步:,找到文件夹下的arc文件夹,如果没有这个文件夹,自己手动创建一个;

2024-03-15 09:41:22 2513

原创 xcode15 ( 8 duplicate symbols ;linker command failed with exit code 1 (use -v to see invocation))

在Xcode -> Target -> Build Setting -> Other Linker Flags 添加一行"-ld64"尝试在按照以下路径配置一下:-ld64。

2024-03-14 17:47:42 865 1

原创 MAC连接MySQL出现Host is not allowed to connect to this MySQL server 解决方法

打开终端一次输入以下命令行。

2023-06-02 14:26:49 388

原创 ​git pull 提示 hint: You can replace “git config“ with “git config --global“ to set a default​

终端运行:git config pull.

2023-04-13 16:00:17 1567 1

原创 xcode14 Command Swift Driver Compilation Requirements emitted errors but did not ret

xcode14:SwiftDriver

2022-11-05 11:22:39 1422

原创 Xcode 自定义代码块的存储位置

笔记记录

2022-11-04 11:13:05 742

原创 git 出现You can replace “git config“ with “git config --global“ to set a default hint:

git使用报错

2022-11-03 14:27:51 4575

原创 iOS 组件化开发

iOS组件化开发

2022-04-28 17:41:11 3914

原创 Mac 安装ffmpeg 并使用ffmpeg将ts格式的文件转换成mp4

Mac 电脑安装ffmpeg 并通过ffmpeg将ts格式的文件转换成mp4格式

2022-03-26 14:04:47 6043

原创 配置Universal Links 笔记

微信分享出现的问题:https://developers.weixin.qq.com/community/develop/doc/000200d2d106301d11a94189451400?jumpto=reply&commentid=000806ba8ac2d83811b9891e8594&parent_commentid=000442fa884538ed16a9529e35b4官方提供检查Universal Links是否正确:https://search.develo

2021-07-03 17:59:28 133

原创 Mac 解决github 下载慢问题

利用https://www.ipaddress.com/来获得以下两个GitHub域名的IP地址:(1) github.com(2) github.global.ssl.fastly.net打开网页后,利用输入框内分别查询两个域名。修改hosts文件,将以上获取的两个IP地址写入hosts文件中...

2021-04-10 14:59:45 544

原创 报错 library not found for -libstdc++.6.0.9

解决办法 :设备将tbd副本放到下面路径中:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/模拟器将tdb副本放到下面路径中:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneS

2021-01-28 18:01:51 1722 1

原创 WkWeb 的JS交互

JS代码:/* // 传null window.webkit.messageHandlers.方法名.postMessage(null); // 传字典 window.webkit.messageHandlers.方法名.postMessage({name:'小明',gender:'男'}); // 传字符串 window.webkit.messageHandlers.方法名.post...

2020-05-25 14:33:01 1283

原创 解决Xcode11.2在xib里加载UITextView导致崩溃

#import <objc/runtime.h>在AppDelegate.m:- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{.....if (@available(iOS 13.2, *)) { ...

2020-04-20 11:31:22 230

原创 iOS13 模态弹出默认交互改变

稍后书写

2020-04-15 16:51:31 719

原创 Xcode 默认路径设置

打开终端:1.查看xcode-select可使用命令xcode-select -h 或者xcode-select --help2.查看当前Xcode版本路径:xcode-select -p 或者 xcode-select -print-path3.切换xcode路径:sudo xcode-select --switch /Applications/Xcode.app/...

2020-04-15 15:18:34 862

原创 cocopods + xcode设置默认版本

Xcode设置默认版本:1、找到要切换的xcode版本的路径2、切换xcode路径的方法为:sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer(xcode路径)3、查看切换后的xcode版本路径:xcode-select -print-pathcocopods:1.可以通过gem...

2020-03-14 22:28:38 694

原创 Xcode 模拟器运行提示xcode Unable to boot device because it cannot be located on disk

打开Xcode -> Open Developer Tool -> iOS simulator在打开的模拟器上选择Hardware -> Device -> Manage Devices把没用的模拟器全部删除,然后再添加回来就可以了。添加是立刻的,不需要下载。...

2020-03-10 16:21:03 3859

原创 环信打包_遇到的问题

近日小编在集成环信的打包时候遇到的问题:(环信SDK版本 3.6.2)用cocopods 集成IM SDK 手动集成easeUI.1. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/Command...

2020-01-05 23:38:57 1019

原创 微信支付WeChatSDK1.8.6 手动集成

本文小编阐述WeChatSDK1.8.6 手动集成方式:1.下载资源:https://developers.weixin.qq.com/doc/oplatform/Downloads/iOS_Resource.html将下载后的资源如下图,导入工程中:2.添加依赖库:现在可以Command+B调试一下了。官方集成文档:https://developers.weixin....

2019-11-07 17:09:26 1209 2

原创 tanleview ,collectionview 下拉刷新时背景填充

-(void)addCollecviewSub{ self.colorView = [[UIView alloc] initWithFrame:CGRectMake(0, -SCREEN_HEIGHT, SCREEN_WIDTH, SCREEN_HEIGHT)]; // 高度随便,只要下拉的高度不超出View的高度就行了 self.colorView.backgr...

2019-09-18 12:03:36 441

原创 iOS 画气泡view

方法一:(画三角形)- (UIView *)arrowView{ if (!_arrowView) { // draw CGSize size = CGSizeMake(200, 50); UIBezierPath *path = [[UIBezierPath alloc] init]; [pat...

2019-09-16 11:40:28 616

原创 添加左右滑动的手势

//添加手势-(void)addSwipeGesture{ //左右滑动 self.leftSwipeGestureRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipes:)]; self.rightSwipeGes...

2019-08-29 17:36:00 330

原创 tableView 杂论笔记

ios11 适配自动cell高度 _leftTable.rowHeight = UITableViewAutomaticDimension; _leftTable.estimatedRowHeight = 50;待查看:1.self.centerTableView.contentOffset = CGPointMake(0, newRow * ...

2019-08-29 11:46:06 127

原创 iOS 下拉系统通知栏和上拉工具栏弹出时监听

iOS 在系统通知和工具栏弹出时,可以通过UIApplicationWillResignActiveNotification来监听:[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(BecomeActive...

2019-08-21 10:25:34 3637

原创 iOS 侧滑返回

在项目中遇到,需求:A 界面存在导航控制器 push 到B界面隐藏导航栏,现在需要从B界面侧滑返回A界面。直接上代码:A (controller):.h 文件#import <UIKit/UIKit.h>@interface ViewController : UIViewController@end.m文件#import "ViewControl...

2019-07-29 17:14:59 269

转载 (强烈推荐)移动端音视频从零到上手

https://juejin.im/post/5d29d884f265da1b971aa220

2019-07-29 15:10:58 332

转载 iOS的基石Runtime

https://juejin.im/post/5d3d748e6fb9a07ed36ef33a

2019-07-29 14:55:23 110

原创 iOS 添加毛玻璃背景

// 背景毛玻璃 UIBlurEffect *effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; UIVisualEffectView *effectView = [[UIVisualEffectView alloc] initWithEffect:effect]; effectView.fr...

2019-07-27 11:15:50 690

原创 openURL 在iOS10上已被弃用。

苹果在iOS 2 推出openURL:方法用于打开外部链接,而与之相关的方法canOpenURL:在iOS 9隐私控制里也禁止查询设备中已安装的App。苹果在iOS 10 中已经弃用了openURL:这个旧方法,用openURL:options:completionHandler:来代替。iOS 10中的新方法:// Objective-C- (void)openURL:(NS...

2019-07-13 10:07:30 1287

转载 iOS 导航栏控制Push

1.导航栏的显示与隐藏导航栏的显示与隐藏,分两种情况:1.从不显示导航栏的页面push到显示导航栏的页面。 2.从显示导航栏的页面Push到不显示导航栏的页面。注意: 1.如果导航栏不显示时,系统的侧滑返回功能无效。 2.虽然侧滑返回功能无效,但是导航栏的.interactivePopGestureRecognizer.delegate还是存在的。针对以上两种情况分别处理,整...

2019-07-12 11:23:32 588

原创 组件化成功后 pod search "XXXX"

[!] Unable to find a pod with name, author, summary, or description matching `xxx`解决方法就是Finder前往资源库去删除缓存中的search_index.json(****修改成你自己电脑路径)/Users/*****/Library/Caches/CocoaPods删除search_index.json...

2019-07-04 11:30:46 267

原创 UIView圆角设置

1、设置四个角为同一弧度的圆角UIView *cornerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 120, 10)];cornerView.backgroundColor = [UIColor whiteColor];cornerView.layer.masksToBounds = YES;cornerView.lay...

2019-06-20 15:32:12 2558

原创 UIView的autoresizingMask属性

在开发过程中有时会碰到xib 创建view,设置view的frame会无效或者不是我们所设置的尺寸:解决方法:方法一:_doAndCheckHomefooterView.autoresizingMask = UIViewAutoresizingNone;方法二:在viewcontroller中重新设置尺寸:- (void)viewDidLayoutSubviews{ ...

2019-06-20 15:19:03 360

原创 xcode真机调试--添加iOS最新版本-添加最新的 DeveloperDiskImage

finder --- > 应用程序Xcode --- > 显示包内容 --->developer --- >platforms--->iPhoneOS.platform --- > DeviceSupport如下图:

2019-06-19 10:53:10 1083

原创 UIwebview 在iOS12.2无法播放音视频

UIwebview 在iOS12.2以后会出现H5无法播放音视频的问题:解决办法: _WebView.allowsInlineMediaPlayback = YES;_WebView.mediaPlaybackRequiresUserAction = NO;iOS升级到12.2后,如需在UIWebView中自动播放视频、或者想通过JS调用方法的方式播放视频,必须将UIWebVi...

2019-06-19 10:35:23 2913

转载 Ios 推送扩展Notification Service Extension 与简单的语音合成 (学习笔记)

新项目要用到推送,然后语音播报推送里的内容。比如支付宝的推送功能“支付宝到账100元”,这种的。目前做这个的方法第一个想到的就是Notification Service Extension了,Notification Service Extension是ios10推出的新功能,所以只能在ios10及其以上的手机上有用。Notification Service Extension的作用就...

2019-02-20 10:29:38 2444

转载 xcode10 info.plist 重复

2019-02-19 15:31:53 389

原创 status: XXX has conflicting proviioning seetting.

项目运行过程中出现:XXXX(项目名称) has conflicting provisioning settings.XXXX(项目名称) is automatically signed, but provisioning profile YYYY(一段字符串) has been manually specified. Set the provisioning profile value ...

2019-02-19 15:30:00 3179

sourcrtree 2.0.5.2.免登录注册

sourcetree 2.0.5.2 免登录注册,文件中配有许可证,安装以后导入即可使用

2018-11-23

空空如也

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

TA关注的人

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