IOS 权限和常用cocopods

2019-01-04  本文已影响7人  黎峰麟

IOS 权限

<!--动态改变状态栏-->
    <key>UIViewControllerBasedStatusBarAppearance</key><false/>
<!--文件分享-->
     <key>UIFileSharingEnabled</key><true/>
<!--允许HTTP访问-->
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key><true/>
    </dict>
    <!-- 相册 -->
    <key>NSPhotoLibraryUsageDescription</key>
    <string>App需要您的同意,才能访问相册</string>
    <!-- 相机 -->
    <key>NSCameraUsageDescription</key>
    <string>App需要您的同意,才能访问相机</string>
    <!-- 麦克风 -->
    <key>NSMicrophoneUsageDescription</key>
    <string>App需要您的同意,才能访问麦克风</string>
    <!-- 位置 -->
    <key>NSLocationUsageDescription</key>
    <string>App需要您的同意,才能访问位置</string>
    <!-- 在使用期间访问位置 -->
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>App需要您的同意,才能在使用期间访问位置</string>
    <!-- 始终访问位置 -->
    <key>NSLocationAlwaysUsageDescription</key>
    <string>App需要您的同意,才能始终访问位置</string>
    <!-- 日历 -->
    <key>NSCalendarsUsageDescription</key>
    <string>App需要您的同意,才能访问日历</string>
    <!-- 提醒事项 -->
    <key>NSRemindersUsageDescription</key>
    <string>App需要您的同意,才能访问提醒事项</string>
    <!-- 运动与健身 -->
    <key>NSMotionUsageDescription</key> <string>App需要您的同意,才能访问运动与健身</string>
    <!-- 健康更新 -->
    <key>NSHealthUpdateUsageDescription</key>
    <string>App需要您的同意,才能访问健康更新 </string>
    <!-- 健康分享 -->
    <key>NSHealthShareUsageDescription</key>
    <string>App需要您的同意,才能访问健康分享</string>
    <!-- 蓝牙 -->
    <key>NSBluetoothPeripheralUsageDescription</key>
    <string>App需要您的同意,才能访问蓝牙</string>
    <!-- 媒体资料库 -->
    <key>NSAppleMusicUsageDescription</key>
    <string>App需要您的同意,才能访问媒体资料库</string>

Cocopods

#  iCarousel     Shimmer# 
# [iOS-Core-Animation-Advanced-Techniques](https://github.com/AttackOnDobby/iOS-Core-Animation-Advanced-Techniques)
# **[M13ProgressSuite](https://github.com/Marxon13/M13ProgressSuite)**

# pod 'EAIntroView'    //插画

#  [awesome-ios-animation](https://github.com/ameizi/awesome-ios-animation)**
#  [aurora-imui](https://github.com/jpush/aurora-imui) 聊天UI

#  VVDocumenter  KSImageNamed  缅怀过去 以示敬意
#  Awesome       APP集合
#  JLRoutes      路由
#  AAChartKit    (非常棒的图表库实用JS的图库)   https://github.com/AAChartModel/AAChartKit/blob/master/CHINESE-README.md

#  IMYWebLoader IMYAOPTableView IMYADLaunchDemo  美柚的框架
#  LargeImageDownsizing                          显示巨图
platform :ios, '9.0'

target 'LottieLFL' do
  use_frameworks!

pod 'CRToast', '~> 0.0.7'
pod "GCDWebServer", "~> 3.0"
pod 'Onboard'                   #swi
#  pod 'Realm'                                  #储存      https://realm.io/docs/objc/latest/#installation
#  pod 'CocoaAsyncSocket'                       #         https://github.com/robbiehanson/CocoaAsyncSocket
#  pod 'MagicalRecord'                          #数据库储存 https://github.com/magicalpanda/MagicalRecord/blob/master/Docs/Installing-

  pod 'ChameleonFramework'                      #颜色      https://github.com/viccalexander/Chameleon
  pod 'CocoaLumberjack'                         #打印输出   https://github.com/CocoaLumberjack/CocoaLumberjack

#  pod 'SVProgressHUD'                          # https://github.com/SVProgressHUD/SVProgressHUD
#  pod 'IGListKit', '~> 3.0'                    # https://github.com/Instagram/IGListKit
#  pod 'SlackTextViewController'                # https://github.com/slackhq/SlackTextViewController
#  pod 'MWPhotoBrowser'                         # https://github.com/mwaterfall/MWPhotoBrowser
#  pod 'Charts'                                 # https://github.com/danielgindi/Charts
#  pod 'LKDBHelper'
#  pod 'WebViewJavascriptBridge', '~> 6.0'      #https://github.com/marcuswestin/WebViewJavascriptBridge
#  pod 'PNChart'
#  pod 'FSCalendar'                           #日历
#  pod 'RESideMenu'                           #菜单
#  pod 'SWTableViewCell'
#  pod 'PureLayout'                           #自动布局
#  pod 'FLAnimatedImage'                      #GIF动画引擎
#  pod 'RealReachability'                     #https://github.com/dustturtle/RealReachability
#  pod 'HBDNavigationBar'                     #导航栏平滑过度 https://github.com/listenzz/HBDNavigationBar
#  pod 'SDCycleScrollView'                    #文字轮播器    https://github.com/gsdios/SDCycleScrollView
#  pod 'ZFPlayer', '~> 3.0'                   #视频播放。    https://github.com/renzifeng/ZFPlayer

#  pod 'SAMKeychain'                          #钥匙串访问    https://github.com/soffes/SAMKeychain
#  pod 'RMessage'                             #显示消息
#  pod 'SwiftTheme'                           #换肤功能
#  pod 'AsyncDisplayKit'                      #[!] AsyncDisplayKit 已被弃用,取而代之的是 Texture
#  pod 'Texture'
#  pod 'Localize'                             #OC无法使用
#  pod 'AudioKit'
#  pod 'NYT360Video'
  pod 'DOUAudioStreamer', '~> 0.2.15'
end

上一篇下一篇

猜你喜欢

热点阅读