如何从Evernote Swift SDK中的注释中取消注释?

时间:2017-09-09 13:16:56

标签: swift evernote evernote-app-notebook

我想使用Evernote swift SDK删除笔记中的所有标签。这是我的代码,但我不能用它删除它们,无论如何都可以这样做?

ENSession.shared.download(noteRef!, progress: nil) { (note: ENNote?, error: Error?) in
    if error == nil {

        note?.tagNames = [String]()

        ENSession.shared.upload(note!, policy: .replace, to: nil, orReplace: noteRef, progress: nil, completion: { (noteRef: ENNoteRef?, error: Error?) in
            if error == nil {
                print("Tag Deleted")
            }
        })
    }
}

1 个答案:

答案 0 :(得分:0)

你能试试吗?

TCHAR cmd[] = TEXT("C:\\Windows\\system32\\rundll32.exe C:\\Projects\\Test\\mydll.dll,MyFunc");

BOOL cpRes = CreateProcess(NULL, cmd, ...);