위해 나는 물론 등등아이폰 문제 비교 물론 값은 cllocation
-(void) locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
//somecode
NSString *dirString = [[NSString alloc] initWithFormat:@"%d", newLocation.course];
int myInt = [dirString intValue];
if ((myInt >= 0) || (myint < 90)) {course.text [email protected] "N";}
if ((myInt >= 90) || (myint < 180)) {course.text [email protected] "E";}
등 일부 값을 얻기위한 몇 가지 코드를 쓰고 있어요,하지만 난 항상 첫 번째 값, "N"을 검색 할 수 있습니다.
내 실수는 어디까지입니까?
감사합니다.
감사의 jasarien, shure,이 실수를 이해했습니다 – zebra