1. TuyaSmart iOS IPC biz Bundle

1.1. Functional Overview

TuyaSmart iOS IPC biz Bundle (TuyaCameraPanelSDK) is a series of panel SDK related to camera functions developed based on Tuya Smart Camera SDK. It mainly includes the following functions:

-Preview panel, playback panel, cloud storage panel, message center panel, album panel, settings panel.

1.2. Quick integration

1.2.1. Use CocoaPods integration

Add the following code to the Podfile file:

source "https://github.com/TuyaInc/TYPublicSpecs.git"
source 'https://cdn.cocoapods.org/'

platform: ios, '9.0'

target 'TuyaSmartCameraPanelSDK_Example' do
  pod 'TuyaSmartCameraPanelSDK'
  pod 'TuyaSmartHomeKit'
  pod "TuyaSmartPanelSDK"

end

Then execute the pod update command in the project root directory to integrate third-party libraries.

Please refer to the use of CocoaPods: CocoaPods Guides

1.3. Project configuration

In the corresponding Target, select Build Settings, search for Enable Bitcode, and set it to NO.

1.4. Integration SDK

1.4.1. Header file import

Objective-C projects are added where needed

#import <TuyaSmartCameraPanelSDK/TuyaSmartCameraPanelSDK.h>

Swift Please add the following to the xxx_Bridging-Header.h bridge file

#import <TuyaSmartCameraPanelSDK/TuyaSmartCameraPanelSDK.h>

Then add it where the project needs to be used

import TuyaSmartCameraPanelSDK

results matching ""

    No results matching ""