0
我想使用Evernote swift SDK從筆記中刪除所有標籤。這是我的代碼,但我不能刪除它們,有任何方式來做到這一點?如何從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")
}
})
}
}