Skip to content
Guides

Apply the License

You need to initialize the ComPDFKit Conversion SDK with a license before calling any API. You can contact ComPDFKit team to get a trial license.

objective-c
#import <Foundation/Foundation.h>
#import "conversion.h"
#import "common.h"

// Verify the license
NSInteger licenseResult = [LibraryManager licenseVerify:@"<your_license_string>"];
if (licenseResult != 0) {
    // Handle license error
}