转化为NSValue
CLLocationCoordinate2D locaCoord;
NSValue *value = [NSValue valueWithBytes:&locaCoord objCType:@encode(CLLocationCoordinate2D)];
// 转换会结构体
CLLocationCoordinate2D coord;
[value getValue:&coord];
转化为NSValue
CLLocationCoordinate2D locaCoord;
NSValue *value = [NSValue valueWithBytes:&locaCoord objCType:@encode(CLLocationCoordinate2D)];
// 转换会结构体
CLLocationCoordinate2D coord;
[value getValue:&coord];