Skip to content

DJI Mobile UILibrary is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.

License

Notifications You must be signed in to change notification settings

earmand/Mobile-UILibrary-iOS

 
 

Repository files navigation

DJI UILibrary for iOS

What Is This?

The UILibrary is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.

Get Started Immediately

UILibrary Installation with CocoaPods

Since this project has been integrated with DJI iOS UILibrary CocoaPods now, please check the following steps to install DJISDK.framework using CocoaPods after you downloading this project:

1. Install CocoaPods

Open Terminal and change to the download project's directory, enter the following command to install it:

sudo gem install cocoapods

The process may take a long time, please wait. For further installation instructions, please check this guide.

2. Install UILibrary with CocoaPods in the Project

Run the following command in the ObjcSampleCode and SwiftSampleCode paths:

pod install

If you install it successfully, you should get the messages similar to the following:

Analyzing dependencies
Downloading dependencies
Installing DJI-SDK-iOS (4.3)
Installing DJI-UILibrary-iOS (4.3)
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `UILibOCSample.xcworkspace` for this project from now on.
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod
installed.

Note: If you saw "Unable to satisfy the following requirements" issue during pod install, please run the following commands to update your pod repo and install the pod again:

pod repo update
pod install

Run Sample Code

Developers will need to setup the App Key by editing the sample code's info.plist, after generating their unique App Key.

For the Objective-C sample app, the key value DJISDKAppKey should to be added to "Info.plist" with your unique app key as a string.

For the Swift sample app, the DJISDKAppKey is present in the "Info.plist" - developers just need to add their unique key. In both cases developers will still need to update the Bundle Identifier .

One of DJI's aircraft or handheld cameras will be required to run the sample application.

Learn More about DJI UI Library

Please visit UI Library Introduction for more details.

Development Workflow

From registering as a developer, to deploying an application, the following will take you through the full Mobile SDK Application development process:

Feedback

We’d love to have your feedback as soon as possible. Reach out to us when you hit roadblocks, or want to talk through something. At a minimum please let us know:

  • What improvements would you like to see?
  • What is hard to use or inconsistent with your expectations?
  • What is good?
  • Any bugs you come across.

Support

You can get support from DJI with the following methods:

About

DJI Mobile UILibrary is a suite of product agnostic UI objects that fast tracks the development of iOS applications using the DJI Mobile SDK.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 61.6%
  • Objective-C 35.5%
  • C++ 1.4%
  • Swift 1.1%
  • Other 0.4%