2017-09-09 7 views
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") 
      } 
     }) 
    } 
} 

답변

0

시도해 볼 수 있습니까?

note?.tagGuids = [String]()