메모를 evernote에 동기화 할 수있는 reder 응용 프로그램을 만들고 있습니다. API 및 샘플 코드를 찾았습니다. 응용 프로그램을 통합하고 out.out.and에 따라 cotomize하고 전에 응용 프로그램을 확인하기 위해 sandbox useraccount를 만듭니다. 우리가 정적으로 사용자 이름과 암호를 제공하는 데 필요한 evernoteclass.m service.in 생산이iOS에서의 Evernote 통합
#import "Evernote.h"
NSString * const username = @"usernme";
NSString * const password = @"pswrd123";
NSString * const userStoreUri = @"https://sandbox.evernote.com/edam/user";
NSString * const noteStoreUriBase = @"https://sandbox.evernote.com/edam/note/";
@implementation Evernote
같은 코드가있다 그러나 나는 우리의 로그인 페이지처럼 사용자 이름과 암호 텍스트 필드를 사용하여이를 구현해야합니다. 이 값을 static으로 추가하면 나는 텍스트 파일을 사용하여 동적으로 사용자 이름을 알려주는 방법을 evernote에 보낼 수 있습니다. 사전에 감사합니다.
#ifdef DEBUG #define EVERNOTE_HOST @ "sandbox.evernote.com" #else #define EVERNOTE_HOST @ "www.evernote.com" #endif – Slavik