3
다음 obj-c 코드에 문제가 있습니다.인터페이스 'NSDate'에 대한 포인터에 산술 연산을 사용합니다. 비 깨지기 쉬운 ABI에서 일정한 크기가 아닙니다
error: Semantic Issue: Arithmetic on pointer to interface 'NSDate', which is not a constant size in non-fragile ABI
는 어떤 아이디어가 :
if (fabs(originalLocation.timestamp - ((CLLocation *)[lastLocations objectAtIndex:i]).timestamp) > constAverageLocationTimeout)
{
//do
}
엑스 코드는 ERR을 전송?
네, 정말 도움이됩니다. 정말 고맙습니다. –
@Merc 당신을 환영합니다. – justin