使用evernote SDK ios添加新笔记

时间:2016-07-18 11:24:54

标签: ios objective-c evernote-app-notebook

 let note:ENNote = ENNote.init()
        note.content = ENNoteContent.init(string: "This is test note content create from iOS device")
        note.title = "EN-Note Test"

        let resourse:ENResource = ENResource.init(image: UIImage.init(named: "3"))
        note.addResource(resourse)


        ENSession.sharedSession().uploadNote(note, notebook: nil, completion: {(noteRef:ENNoteRef!, uploadError:NSError!) in

            if(uploadError != nil)
            {
                print(uploadError.description)
            }
        })

我正在上面添加新笔记和代码运行成功,没有上传错误,但当我在evernote上检查时,笔记没有显示

0 个答案:

没有答案