我正在尝试将本地特征 uuid 字符串与代表回调特征 uuid 字符串进行比较,如下所示:
if([characteristic.UUID.UUIDString isEqualToString:CHAR1_UUID]){
//But I'm getting bad access error here
}else if([characteristic.UUID.UUIDString isEqualToString:CHAR2_UUID]){
}
有人可以帮助我如何进一步进行吗?