은이 코드를 사용하여 내 위치 데이터를 포함하는 UILabel의,UIlabel을 URL에 삽입 하시겠습니까?
longitudedata.text = [NSString stringWithFormat:@"longitude=%f", location.coordinate.longitude];
speeddata.text = [NSString stringWithFormat:@"speed=%f", [location speed] * 2.2369];
altitudedata.text = [NSString stringWithFormat:@"altitude=%f", [location altitude]];
을 만들었지 만 지금은 내 서버에 데이터를 보내드립니다 있도록 URL에 다음을 추가 할 필요가 있지만, 모든 IV는 dosnt 작업을 시도 :(
IV는 모두에게메신저를 시도처럼
NSURL *myURL = [NSURL URLWithString:[@"http://servername/ldtracker.aspx?id=3&" stringByAppendingString:longitudedata.text]];
등등하지만이 dosnt 작업 는 엑스 코드에 초보자, 도와주세요 같다 :
프라하, 단이 이해하는 경우이 작동합니다 : http://stackoverflow.com/questions/13447827/how-to-apply-the-hyperlink-for-specific- text-in-uitextfiuled-uilabel/13449341 # 13449341 – spaleja
오류가 발생합니까? –
@AKV이 코드를 실행하면 (스위치를 사용하여 다른 이유로 활성화하는 경우) 충돌이 발생하고 명확한 오류가 발생하지 않습니다. – user1986660