문제

for(int i=0;i<[self.printers count]; i++)
    {
        PublicPrivateEvent *printerselection = [printers objectAtIndex:i];

        CGFloat latt = [printerselection.latitude floatValue]; //Here is broken
        CGFloat lng=[printerselection.longtitude floatValue];
         pointsCoOrds[index++] = CLLocationCoordinate2DMake(latt,lng);

    }

Hi All, Im trying to get the value from PublicPrivateEvent class. But I dont know for what I cant handle it? I have this problem: _NSCFConstantString latitude]: unrecognized selector sent to instance .. DO you have any idea? Thanks in advance.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top