资源器 0.1.0.3

资源器 0.1.0.3

RYRA Circuit维护。



资源器 0.1.0.3

  • RYRA Circuit

资源器

这是一个基于多种通信类型、地图、文件/媒体服务以及iOS分享表支持的功能库

要求

  • iOS 11.0+
  • Xcode 10+

安装

CocoaPods

pod 'Resourcer'

在使用媒体选择器或音频录音服务之前,将以下代码(必需项)添加到Info.plist文件中

<key>NSCameraUsageDescription</key>
<string>Take camera photos for sending media</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Take camera photos for sending media</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Please allow access to save media in your photo library</string>
<key>NSMicrophoneUsageDescription</key>
<string>Please allow access to record audio for media sending</string>

在使用位置服务之前将以下代码(必需项)添加到info.plist

<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>App needs to detect your location for sending location</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>App needs to detect your location for sending location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>App needs to detect your location for sending location</string>
<key>NSLocationUsageDescription</key>
<string>App needs to detect your location for sending location</string>

在使用谷歌地图导航之前将以下代码添加到info.plist

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>comgooglemaps</string>
    <string>comgooglemaps-x-callback</string>
</array>

在使用文档服务之前将以下代码添加到info.plist

<key>UIFileSharingEnabled</key>
    <true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
    <true/>