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.
Add the following code to the
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
In the corresponding Target, select
Build Settings, search for
Enable Bitcode, and set it to
Objective-C projects are added where needed
Swift Please add the following to the
xxx_Bridging-Header.h bridge file
Then add it where the project needs to be used