LINE SDK for iOS Objective-C overview

Note: The LINE SDK v5.0 for iOS Objective-C is the last version of our Objective-C SDK. We provide the LINE SDK for iOS Swift, which will be continuously updated with new features. The LINE SDK for iOS Swift supports both Swift and Objective-C apps. We strongly recommend you to migrate to the LINE SDK for iOS Swift as soon as possible.

The LINE SDK for iOS Objective-C lets you integrate LINE into your iOS app to create a more engaging experience for your users.

Features

The LINE SDK for iOS Objective-C provides the following features.

User authentication

This feature allows users to log in to your service with their LINE accounts. With the help of the LINE SDK for iOS Objective-C, it has never been easier to integrate LINE Login into your app. Your users will automatically log in to your app without entering their LINE credentials if they are already logged in to LINE on their iOS devices. This offers a great way for users to get started with your app without having to go through a registration process.

Utilizing user data with OpenID support

Once the user is authorized, you can get the user’s LINE profile. You can utilize the user's information registered in LINE without building your user system.

The LINE SDK supports the OpenID Connect 1.0 specification. You can get ID tokens that contain the user’s LINE profile when you retrieve the access token.

API calls

Use the methods included in the LINE SDK to get user profile information, log out users, and manage access tokens.

Using the SDK

To use the LINE SDK with your iOS app, follow the steps below.

  1. Create a channel. See Getting started with LINE Login in the LINE Login guide.
  2. Integrate LINE Login into your iOS app using the SDK. See Setting up your project and Integrating LINE Login with your iOS app.
  3. Make API calls from your app using the SDK or from server-side through the Social API. See the LINE SDK for iOS Objective-C reference and the Social API reference.

Trying the starter app

You can see how LINE Login works using our starter app. See Trying the starter app.

What's in this guide

This guide explains how to integrate the LINE SDK with your app and use the available API functions in the SDK from your app. The table below lists the topics and their contents in this guide.

Title Content
LINE SDK for iOS Objective-C overview The SDK features and the high-level steps for using the SDK.
Trying the starter app How to run our starter app.
Setting up your project How to integrate the LINE SDK into your project.
Integrating LINE Login with your iOS app How to leverage LINE Login to improve your app's user experience.
Enabling the bot link feature with the SDK How to display an option to add the bot as a friend to users and get the friendship status between the bot and the user.
Managing users How to get user profiles, use ID tokens to get user data, and log out users.
Managing access tokens How to refresh and verify access tokens and get the current access token.
Handling errors How to handle errors returned by the SDK.
LINE SDK v5.0 for iOS Objective-C reference Detailed information on the protocols and classes available in the SDK.

Other resources

You can access the following information from the top page of the LINE SDK for iOS guide.

Title Content
LINE SDK v5.1 for iOS Swift Documentation for the LINE SDK v5.1 for iOS Swift.
Deprecated: LINE SDK v4.1 for iOS Documentation for the previous SDK version.
Release notes Change log for the SDK.
Downloads Links to download the LINE SDKs.

{{ $t("form.question.helpful") }}

{{ $t("form.question.detail") }}

{{ $t("form.question.improve") }}

{{ $t("form.info.start") }}{{ $t("form.info.link") }}{{ $t("form.info.end") }}


{{ $t("form.result.success") }}
{{ $t("form.result.error") }}
{{ $t("form.result.errorLink") }}