You can use Link SDK for iOS to build a two-way tunnel between your device and IoT Platform. The SDK for iOS includes API operations for initialization, deinitialization, data transfer from IoT Platform to devices and from devices to IoT Platform, subscription, and unsubscription. The latest version of Link SDK for iOS is 1.2.1.
The SDK for iOS uses CocoaPods to manage dependencies. We recommend that you use CocoaPods 1.2.0 or later.To integrate the SDK for iOS, add the following lines of code to the Podfile of your Xcode project:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/aliyun/aliyun-specs.git'
target "necslinkdemo" do
pod 'IotLinkKit', '1.2.1'
end
Demo
The SDK for iOS provides a demo for your reference. By downloading the demo, you agree with the Software License Agreement.
Download Link SDK for iOS Demo.