
移动开发
vickyjfr
一个10年的软件工程师,负责iOS开发,偶尔做一点c语言的编程,偶尔看看安卓的代码,目前学习RN编程中
展开
-
pod 安装到指定的版本的步骤
1,查询原来安装的列表命令: bogon:~xxxxx$ gem list *** LOCAL GEMS *** activesupport (4.2.10) atomos (0.1.3) bigdecimal (default: 1.2.8) CFPropertyList (3.0.0, 2.2.8) claide (1.0.2) cocoapods (1.7.3) ...原创 2020-01-03 10:12:17 · 3129 阅读 · 0 评论 -
iOS Lottie 动画应用
准备工作: 需要一个动画的json的文件,或者json字符串,一般由UI设计人员生成的,直接导入到project里面就可以; 1 在Podfile里面引入第三方库lottie-ios, 版本2.5.3是objective-c的版本 也可以引入最新的版本是swift的版本:pod 'lottie-ios', :git => 'https://github.com/airbnb/lott...原创 2019-11-04 18:38:01 · 1276 阅读 · 0 评论 -
ios 获取系统音量以及监听系统音量的设置
获取设备的音量: AVAudioSession *audioSession = [AVAudioSession sharedInstance]; CGFloat _systemVoluemValue = audioSession.outputVolume; 增加和删除监听设备音量的代码 添加设备音量的监听 [[NSNotificationCenter defaultC...原创 2019-10-30 10:37:32 · 1965 阅读 · 0 评论 -
git 仓库fork 操作总结
1 首先选择一个需要fork的仓库 2 进行fork操作 3 将fork后的地址clone到本地 4 打开终端,cd到clone本地的根目录下 5 添加upstream 命令:git remote add upstream 【git地址】 6 查询upstream的分支是否加入成功 :git remote -v 随后会显示查询后的结果 7 更新某个分支:git pull up...原创 2019-10-24 19:50:13 · 2336 阅读 · 0 评论 -
self.view.frame配置问题
转载:http://blog.sina.com.cn/s/blog_1410870560102wu9a.html 在iOS 7中,苹果引入了一个新的属性,叫做[UIViewController setEdgesForExtendedLayout:],它的默认值为UIRectEdgeAll。当你的容器是navigation controller时,默认的布局将从navigation b...转载 2019-06-25 11:20:36 · 917 阅读 · 0 评论 -
ios13 CNCopyCurrentNetworkInfo 不管用
根据wwdc的要求CNCopyCurrentNetworkInfo这个接口符合以下三个条件才能获取当前的Wi-Fi名字: Apps with permission to access location Your app is the currently enabled VPN app Your app configured the WiFi network the device ...原创 2019-07-16 14:49:13 · 3041 阅读 · 1 评论 -
Mac sh 文件小解
test.sh 文件内容: echo Hello World!!!原创 2019-08-02 15:34:40 · 246 阅读 · 0 评论 -
shell 脚本文件
https://blog.youkuaiyun.com/qq_18297675/article/details/52693464 编写shell脚本的时候,最前面要加上一行:#!/bin/bash,因为linux里面不仅仅只有bash一个解析器,还有其它的,它们之间的语法会有一些不同,所以最好加上这一句话,告诉系统要用这个解析器。 一.shell变量 shell变量和一些编程语言不同,一般shell的变...转载 2019-08-02 16:21:36 · 559 阅读 · 0 评论 -
iOS 声音采集数据放大
https://stackoverflow.com/questions/11573796/audio-unit-recording-increased-volume-of-buffers https://stackoverflow.com/questions/27661574/how-to-increase-the-volume-of-ios-app-playing-generated-pcm-...转载 2019-08-26 11:47:27 · 604 阅读 · 0 评论