swift 4.0.3
xcode 10
lineのログイン機能を実装しようとしています.
公式ドキュメント(https://developers.line.biz/ja/docs/ios-sdk/swift/integrate-line-login/),
Qitta(https://qiita.com/toshi4dev/items/3fa8cac1154e7b109c4d#appdelegate)のサイトを参考にさせていただきましたが,
”Use of unresolved identifier 'LoginManager'”とエラーが出てしまいました.
ご教授のほどお願いします
swift
1import UIKit 2import LineSDK 3 4 5@UIApplicationMain 6class AppDelegate: UIResponder, UIApplicationDelegate { 7 8 var window: UIWindow? 9 10 11 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 12 // Add this to your "didFinishLaunching" delegate method. 13 LoginManager.shared.setup(channelID: "YOUR_CHANNEL_ID", universalLinkURL: nil) //Use of unresolved identifier 'LoginManager' 14 15 return true 16 } 17 18 ~~~~~~~略 19 } 20
SDKのインストールはPodsでいれたのですか?
あなたの回答
tips
プレビュー