Requesting a few notes for Camera Kit integration into the IOS app?

Hello All, Has Anyone successfully integrated Camera Kit into an IOS app? apart from the GitHub repository IOS sample.

If Yes, Can anyone please share a few notes on how to integrate Camera Kit into the IOS app.

Thanks in advance.

Answers

  • Bakari Mustafa
    Bakari Mustafa Posts: 174 🔥🔥🔥

    To integrate Camera Kit into an iOS app, you will need to follow these steps:

    1. Make sure you have the latest version of Xcode and iOS SDK installed on your computer.
    2. Download the Camera Kit SDK from the GitHub repository and extract it to a location on your computer.
    3. In Xcode, create a new project and select "Single View App" as the template.
    4. In the project settings, under the "General" tab, scroll down to the "Frameworks, Libraries, and Embedded Content" section and click the "+" button to add the Camera Kit framework to your project.
    5. In the "Project Navigator" on the left side of the Xcode window, right-click on your project's root folder and select "Add Files to [your project name]" from the context menu. Navigate to the location where you extracted the Camera Kit SDK and select the "lib" folder.
    6. In your app's Info.plist file, add the "NSCameraUsageDescription" key and provide a message that explains why your app needs access to the device's camera.
    7. In your app's code, import the Camera Kit framework and create an instance of the CKCameraController class. You can then use this instance to access the device's camera and capture photos or videos.
    8. Build and run your app on an iOS device to test the integration.
  • amplified_intel
    amplified_intel Posts: 1
    edited August 2023 #3

    Hi,
    Could you please provide a link for the Camera Kit SDK GitHub repository?

  • stevenxu
    stevenxu Posts: 542 👻

    @amplified_intel To access Camera Kit SDK, you can apply here!