Evernote SDK for iOS
jopen
12年前
Evernote SDK for iOS 是围绕着 Evernote 云 API (v1.21) 进行封装的 iOS 开发包,使用 OAuth 认证机制。
示例代码:
EvernoteSession *session = [EvernoteSession sharedSession]; [session authenticateWithViewController:self completionHandler:^(NSError *error) { if (error || !session.isAuthenticated) { // authentication failed :( // show an alert, etc // ... } else { // authentication succeeded :) // do something now that we're authenticated // ... } }];