XMPPFramework: Trying to update nickname on VCard
问题 This question is as simple as its title says: I'm trying to update a user nickname on his VCard but I cannot. I'm using this code: dispatch_queue_t queue = dispatch_queue_create("queue", DISPATCH_QUEUE_PRIORITY_DEFAULT); dispatch_async(queue, ^{ XMPPvCardTemp *myVcardTemp = [[[self appDelegate] xmppvCardTempModule] myvCardTemp]; [myVcardTemp setNickname:@"a_nickname"]; [[[self appDelegate] xmppvCardTempModule] updateMyvCardTemp:myVcardTemp]; }); I cannot imagine why this piece of code don't