Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- Memory
- spring
- encoding
- XML
- iphone
- Tomcat
- 톰켓
- 티스토리 초대장
- Objective C
- udp
- WebView
- JavaScript
- UIWebView
- MySQL
- jsp
- jQuery
- Eclipse
- ios
- 한글
- 인코딩
- Android
- permgen space
- java
- Database
- C#
- 메모리
- 티스토리 초대
- ipad
- 이클립스
- HTML
Archives
- Today
- Total
목록useragent (1)
suroMind
[iOS]UIWebView에서 user-agent 변경
출처 : http://wkqqn.tistory.com/archive/20110711 기존에 user-agent 변경하는 방법을 Swizzle을 이용해서 변경했었는데 iOS 5로 업데이트 되면서 변경이 안되었다. 물론 앱스토어에 올라가 있는 앱들이 제대로 되지도 않고.. 그래서 찾아보다가 한참을 헤매었는데 위 블로그에서 아래와 같은 방법을 찾았다. AppDelegate.m 파일에 아래 코드를 넣으면 됩니다. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSString *deviceModel = [[UIDevice currentDevice].model st..
IT분야/iOS
2012. 1. 31. 16:23