是否可以为实例设置唯一的id
和或?我当前的应用程序基于使用整数 id 作为标识符从服务器获取的数据。When a previous message is selected I want to modify the view accordingly by fetching the or (if possible) of the current message and using that in a query to my server.tag
MSMessage
id
tag
override func willBecomeActive(with conversation: MSConversation) {
//Retrive id from selected message
if conversation.selectedMessage != nil{
//Do things
}
}