ARControlls 1.0.3

ARControlls 1.0.3

getyoteam solutions llp 维护。



 
依赖
Alamofire~> 5.2
SwiftyJSON~> 5.0
YoutubeDirectLinkExtractor~> 0.3
Zip~> 1.1
 

  • getyoteam

ARControlls

AR SDK 项目

简介

ARControlls 是一个 AR SDK,它提供动态图像追踪,并可以显示视频、按钮和 3D 对象作为增强内容。用户必须通过点击 ARControlls 进行注册。注册后,用户将获得一个密钥,需要将其放入应用程序中。

安装步骤

步骤 1

在此注册您的应用程序,并在注册成功后复制注册密钥。

步骤 2

安装 pod

pod 'ARControlls'

步骤 3

  • 安装 pod 后,在 AppDelegate.swift 中 导入 ARControlls

  • 现在你需要在 AppDelegate.swift 文件的 didFinishLaunch 方法中设置你的注册密钥

    示例:

    import ARControlls

     func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    
         ARSDKit.apiKey = "R7aoK****************"
         return true
      }
    

步骤 4

在你的 info.plist 中设置以下权限
<key>NSCameraUsageDescription</key>
<string>We wants to use your camera</string>

<key>NSAppTransportSecurity</key>
<dict>
 <key>NSAllowsArbitraryLoads</key>
 <true/>
</dict>

步骤 5

  • 在 ViewController 中取一个 UIView 并将其分配给类 "PreviewView"
  • 构建并运行你的项目。