-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
22 lines (22 loc) · 12 KB
/
index.html
File metadata and controls
22 lines (22 loc) · 12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content=""><meta name="author" content="AidaHe"><meta name="keywords" content=""><meta name="copyright" content="copyright.liscense_type"><title>AidaHe‘s Blog</title><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]><script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script><script src="https://cdn.bootcss.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="icon" href="/compass/imgs/favicon.ico"><link rel="stylesheet" href="/compass/stylesheets/font-awesome.min.css"><script>var algoliaConfig = {"on":false}</script><meta name="generator" content="Hexo 4.2.0"></head><link rel="stylesheet" href="/compass/stylesheets/screen.css"><!--link(rel='stylesheet' href='/compass/stylesheets/prism.css')--><body><div id="body-inner-wrapper"><header id="page-header"><nav id="nav"><div id="site-name">AidaHe‘s blog</div><i class="fa fa-bars fa-2x" id="nav-icon" aria-hidden="true"></i><div id="nav-expanded"><a class="nav-word-item" href="/">主页</a><a class="nav-word-item" href="/archives">归档</a><a class="nav-word-item" href="/tags">标签</a><a class="nav-word-item" href="/categories">分类</a><a class="nav-word-item" href="/about">关于</a></div><div id="nav-list"><ul><li><a class="nav-list-item" href="/">主页</a></li><li><a class="nav-list-item" href="/archives">归档</a></li><li><a class="nav-list-item" href="/tags">标签</a></li><li><a class="nav-list-item" href="/categories">分类</a></li><li><a class="nav-list-item" href="/about">关于</a></li></ul></div></nav><div id="banner-wrapper"><div id="banner-pagetype-dependent-info"><h1 id="post-title">AidaHe‘s Blog</h1><span id="post-description"></span></div></div><a title="回到顶部"><i class="fa fa-arrow-up" id="to-Top" aria-hidden="true"></i></a></header><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/06/07/2020/06/AudioConvert/">iOS 音频转码Mp3,wav,amr格式</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-06-07</span></div><div class="each-post-excerpt"><h2 id="主体功能:-Swift版本"><a href="#主体功能:-Swift版本" class="headerlink" title="主体功能:(Swift版本)"></a>主体功能:(Swift版本)</h2><h3 id="1、将录制的caf格式音频转码mp3格式"><a href="#1、将录制的caf格式音频转码mp3格式" class="headerlink" title="1、将录制的caf格式音频转码mp3格式"></a>1、将录制的caf格式音频转码mp3格式</h3><h3 id="2、wav格式与amr格式音频相互转码"><a href="#2、wav格式与amr格式音频相互转码" class="headerlink" title="2、wav格式与amr格式音频相互转码"></a>2、wav格式与amr格式音频相互转码</h3></div><div><a class="read-more" href="/2020/06/07/2020/06/AudioConvert/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/05/30/2020/05/AHLocationManager/">Swift 定位权限封装,坐标转换</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-05-30</span></div><div class="each-post-excerpt"><h4 id="功能列表"><a href="#功能列表" class="headerlink" title="功能列表"></a>功能列表</h4><ul>
<li>获取系统经纬度坐标</li>
<li>GPS国际标准,高德坐标,百度坐标相互转换</li>
<li>定位权限被拒弹框提示<h4 id="使用方法"><a href="#使用方法" class="headerlink" title="使用方法"></a>使用方法</h4><h5 id="1,将源文件AHLocationManager-swift引入项目中"><a href="#1,将源文件AHLocationManager-swift引入项目中" class="headerlink" title="1,将源文件AHLocationManager.swift引入项目中"></a>1,将源文件AHLocationManager.swift引入项目中</h5><blockquote>
<p><a href="https://github.com/AidaHe/AHLocationManager" target="_blank" rel="noopener">https://github.com/AidaHe/AHLocationManager</a></p>
</blockquote>
<h5 id="2,添加info-plist-描述"><a href="#2,添加info-plist-描述" class="headerlink" title="2,添加info.plist 描述"></a>2,添加info.plist 描述</h5><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><key>NSLocationAlwaysAndWhenInUseUsageDescription</key></span><br><span class="line"><string>App需要您的同意,才能访问位置以便xxx</string></span><br><span class="line"><key>NSLocationWhenInUseUsageDescription</key></span><br><span class="line"><string>App需要您的同意,才能访问位置以便xxx</string></span><br></pre></td></tr></table></figure></div><div><a class="read-more" href="/2020/05/30/2020/05/AHLocationManager/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/05/24/2020/05/Navigation/">iOS 跳转高德,百度,腾讯,谷歌,苹果地图导航</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-05-24</span></div><div class="each-post-excerpt"><h4 id="一、info-plist文件添加Schemes"><a href="#一、info-plist文件添加Schemes" class="headerlink" title="一、info.plist文件添加Schemes"></a>一、info.plist文件添加Schemes</h4><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><key>LSApplicationQueriesSchemes</key></span><br><span class="line"> <array></span><br><span class="line"> <string>iosamap</string></span><br><span class="line"> <string>baidumap</string></span><br><span class="line"> <string>comgooglemaps</string></span><br><span class="line"> <string>qqmap</string></span><br><span class="line"> </array></span><br></pre></td></tr></table></figure>
<h4 id="二、获取当前经纬度和地址"><a href="#二、获取当前经纬度和地址" class="headerlink" title="二、获取当前经纬度和地址"></a>二、获取当前经纬度和地址</h4></div><div><a class="read-more" href="/2020/05/24/2020/05/Navigation/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/05/17/2020/05/AppStoreTransition/">仿App Store转场动画 Swift语言实现</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-05-17</span></div><div class="each-post-excerpt"><h3 id="参考文档:"><a href="#参考文档:" class="headerlink" title="参考文档:"></a>参考文档:</h3><blockquote>
<p><a href="https://www.jianshu.com/p/d802eb2e5a31" target="_blank" rel="noopener">https://www.jianshu.com/p/d802eb2e5a31</a><br>本文主体思路是参考该博主的OC版本实现的<br><a href="https://www.jianshu.com/p/8a99020d954f" target="_blank" rel="noopener">https://www.jianshu.com/p/8a99020d954f</a><br>此文章介绍了转场动画中相关的一些概念,我感觉还是挺通俗易懂的。</p>
</blockquote>
<h3 id="效果图:"><a href="#效果图:" class="headerlink" title="效果图:"></a>效果图:</h3><p><img src="https://upload-images.jianshu.io/upload_images/6695792-899f9bb7318751e1.gif?imageMogr2/auto-orient/strip" alt="效果图"></p></div><div><a class="read-more" href="/2020/05/17/2020/05/AppStoreTransition/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/05/09/2020/05/SwiftExtension/">Swift中的Extension</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-05-09</span></div><div class="each-post-excerpt"><p>Swift中可以对类,结构体,协议,枚举进行拓展添加新的功能<br>考虑到本篇博文中的篇幅,关于枚举的拓展将在下一篇介绍<code>ps:</code>基于Swift 5<br>Swift 中的扩展可以:</p>
<ul>
<li>一、添加计算型属性和计算型静态属性</li>
<li>二、定义实例方法和类型方法</li>
<li>三、提供新的构造器</li>
<li>四、定义下标</li>
<li>五、定义和使用新的嵌套类型</li>
<li>六、使一个已有类型符合某个协议</div><div><a class="read-more" href="/2020/05/09/2020/05/SwiftExtension/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/04/30/2020/04/moyawrap/">Moya网络请求封装</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-04-30</span></div><div class="each-post-excerpt"><blockquote>
<p>最近项目中使用了Moya来做网络请求,于是对其简单封装一下以方便使用<br><a href="https://github.com/Moya/Moya" target="_blank" rel="noopener">Moya: https://github.com/Moya/Moya</a></p>
</blockquote></div><div><a class="read-more" href="/2020/04/30/2020/04/moyawrap/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/04/25/2020/04/preface/">序</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-04-25</span></div><div class="each-post-excerpt"><p><em>黄色的树林里分出两条路</em><br><em>可惜我不能同时涉足</em><br><em>我在那路口久久伫立</em><br><em>我向着一条路极目望去</em><br><em>直到它消失在丛林深处</em><br><em>但我却选了另外一条路</em><br><em>因此走出了这迥异的旅途</em></p>
<div style="text-align: right">摘自《未选择的路》</div></div><div><a class="read-more" href="/2020/04/25/2020/04/preface/">阅读全文</a></div></article><article class="each-post"><div class="each-post-meta"><span class="each-post-title"><a href="/2020/04/21/hello-world/">Hello World</a></span><span class="each-post-date"> <i class="fa fa-calendar" aria-hidden="true"></i> 2020-04-21</span></div><div class="each-post-excerpt">这篇博文没有摘要。</div><div><a class="read-more" href="/2020/04/21/hello-world/">阅读全文</a></div></article><div id="pagination-wrapper"><div id="pagination"><span class="page-number current">1</span></div></div><footer id="page-footer"><div id="footer-wrapper"><div id="blog-meta">©2017-2020 By AidaHe | 主题 - <a id='theme-name' href="https://github.com/huan555/lemon-lime" target="_blank" rel="noopener"> Lemon-Lime</a> | 驱动 - <a id='theme-powered-by' href=http://hexo.io> Hexo</a></div><div id="viewed-record"><script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script><span id="busuanzi_container_site_uv"><i class="fa fa-user" aria-hidden="true"></i> <span id="busuanzi_value_site_uv"></span></span><span id="busuanzi_container_site_pv">Total <i class="fa fa-eye" aria-hidden="true"></i> <span id="busuanzi_value_site_pv"></span></span></div><div id="copyright-wrapper"><i class="fa fa-cc" aria-hidden="true"></i><div id="copyright">除非有特别声明,本博客所有文章均采用 <a rel="license" href=http://creativecommons.org/licenses/by-nc-sa/4.0/>CC BY-NC-SA 4.0 协议</a>.</div></div><div id="contact-me"><div id="rss"><a href="/atom.xml" type="application/atom+xml" rel="alternate" target="_blank"><i class="fa fa-rss" aria-hidden="true"></i></a></div><span id="github"><a href="https://github.com/AidaHe" target="_blank" rel="noopener"><i class="fa fa-github" aria-hidden="true"></i></a></span></div></div></footer><script src="/compass/js/blog.js"></script><!--script(src='/compass/js/prism.js')--></div></body>