0
코딩에 익숙하지 않고 경고 메시지에 대한 조건문을 설정하는 방법이 궁금합니다. 그래서 나는 지금까지이 있습니다. UIAlertView 조건부 통계 (else ??)
mapView.showsUserLocation = YES;
NSString *title = [[NSString alloc] initWithFormat:
@"Alert"];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle: title message: @"I would like to use your location." delegate:self cancelButtonTitle:@"Allow" otherButtonTitles:@"Don't Allow", nil];
은 기본적으로 내가 NO ... 다른 선택 showuserlocation을 실행 허용하는 경우에 는 IF else 문을 넣고 싶다.
어떻게하면됩니까?
감사합니다 ...