iphone 또는 objective-c를 통해 인터넷 연결을 확인하는 방법 ???인터넷 문제
Q
인터넷 문제
0
A
답변
0
빠른 및 Drity : Ping Google?
0
애플의 추천
0
Reachability이 사과 샘플 코드 도달 가능성을 살펴 가지고 뭔가를 할 (또는 사용)하는 것입니다. 필요한 모든 것을 제공해야합니다.
[[Reachability sharedReachability] setHostName:@"example.com"];
if ([[Reachability sharedReachability] remoteHostStatus] == NotReachable) {
UIAlertView *dialog = [[[UIAlertView alloc] init] retain];
[dialog setTitle:@"Server unreachable"];
[dialog setMessage:@"The server is temporarily unavailable."];
[dialog addButtonWithTitle:@"OK"];
[dialog show];
[dialog release];
}
2
는 코드를 사용할 수 니펫 -iphone-sdk
관련 문제
- 1. localhost 문제 인터넷 익스플로러
- 2. android의 인터넷 권한 문제
- 3. Android 인터넷 연결 문제
- 4. 인터넷 익스플로러 걸기 문제
- 5. 인터넷 익스플로러 문제
- 6. 인터넷 익스플로러 문제
- 7. 인터넷 연결 문제
- 8. 인터넷 익스플로러 Z- 인덱스 문제
- 9. 인터넷 익스플로러 관련 문제 8
- 10. 네트워크/인터넷 연결 문제 테스트
- 11. Android 및 T-Mobile 인터넷 연결 문제
- 12. sukerfish 드롭 다운 메뉴의 인터넷 익스플로러 문제
- 13. HTML/CSS - 인터넷 익스플로러 부동 문제
- 14. 아도 인터넷 데이터 서비스 BeginExecute 문제
- 15. 인터넷 익스플로러 배경 색 호버 문제
- 16. Palm Pre Emulator 인터넷 연결 문제
- 17. 인터넷 익스플로러와 파이어 폭스의 색상 호환성 문제
- 18. CSS 그림자 상자 인터넷 익스플로러 8 문제
- 19. 이상한 인터넷 익스플로러 6 문제 CSS
- 20. 어떻게 인터넷 익스플로러
- 21. 인터넷 익스플로러에서 락업로드 중
- 22. WinpCap 차단 인터넷 액세스
- 23. 인터넷 캐싱
- 24. 인터넷 연결
- 25. 인터넷 익스플로러 플래시 성능
- 26. 인터넷 익스플로러 및 다른 브라우저가 아닌 웹 페이지의 일부 문제
- 27. Java 2 Micro Edition (J2ME)의 인터넷 연결 문제
- 28. 인터넷 익스플로러 이베이 (iBay) 목록 html/css 문제
- 29. fadeShow JS 문제 나 인터넷 익스플로러 원인을 알아 내려고 노력하고있어
- 30. JQuery 사용자 및 인터넷 익스플로러 PDF 뷰어 문제
유사 : http://stackoverflow.com/questions/1083701/how-to-check-for-an-active-internet-connection-on 여기 – miku
중복 된 http://stackoverflow.com/questions/1802592/internet-problem/1802657 – Lee